Write an application that interfaces a user with an input &/or output device that you made.
For this assigment I use the processing program, I describe the installation process, programming of the interface and communication with the input and output device with the following images. First of all, we were understanidng everything posible about the languages, device interfaces, data interfaces, user interfaces, graphics, audio, video and math form this page link with more information
For the installation you just have to go to the page of Processing and download the integrated development environment
We started the practice with Processing.
Preparing the software to learn about it.
Working with some basic tools.
Editing colors and some basic stuff.
Having the results.
I added some other options to still learn about this software.
//Firs Try
#include
SoftwareSerial ftdi(1, 0); // RX, TX
void setup()
{
pinMode(8,INPUT_PULLUP);//PULLUP es el conjunto del boton con una resistencia, con esta configuracion activamos el pullup interno del microcontrolador
ftdi.begin(9600);
}
void loop()
{
if (digitalRead(8)==LOW) //las condiciones no llevan";"
{
ftdi.write("1");
}
delay(100);
}
We couldn´t work in the laboratory that´s why we made all the practice for the virtual way.