Assignment
Write an application that interfaces with an input &/or output device.
For this week assigment I made my own Fabduino.
I have used Arduino IDE and Processing to make some graphical user interfaces (GUIs) that interfaces with the Fabduino.
First I edited the Physical Pixels example on the Arduino website.
This is a great example to learn how to modify the hardware with a GUI.
In this example a button designed in Processing turns on/off a LED on the board when you locate the mouse over it.
Final files:
- 0DisplayItems.pde
- 0eboton.pde
- 0boton.ino
After that, I edited Push button example from Arduino Meets Processing page.
In this example, a button turns on/off a LED on the board and the board send the state of the push button to the computer via the serial port.
The GUI reads the state from the serial port and draws a graphical representation. I also can modify some attributes of the display using the keyboard.
Final files:
- 1led.ino
- 1led.pde
Finally, I want to make a GUI that allow me to work with colors and sounds, so I edited this example that allow controlling a RGB led via the serial port and I added a button that allow me to switch between two songs.
Final files:
- 2rgbled.ino
- 2rgbled.pde
|