This week, the assignment was to write an application that interfaces with an input and/or output device. I decided to make a simple graphical user interface in Processing to control a board of 20 charlieplexed LEDs. This project required a couple different components:
1. A GUI in Processing that contained an array of selectable objects. When an object is selected, it would write its index over serial.
2. A program in Arduino that would listen for serial communication, then set the appropriate pins to input + output to turn on one of the charlieplexed LEDs. I hoped to do this using the Charlieplex library built for Arduino, but ran into some issues that are outlined below.
3. A modified version of the hello.array.44 board equipped with serial communication.
I got a number of the pieces working, but haven't yet gotten them all working together...
My working hello.array.44 board.