communication with openFrameworks
This week, we were to establish serial communication in hardware with a computer. I decided to use openFrameworks to read data coming from the microcontroller
The hardware consists of two buttons
On the arduino side, I establish serial communication using software serial. When each button is pressed, they send characters through serial. In openFrameworks I wait for those characters and use them as variable counters. The visualization is just a line which displays the Y axis according to the counter. When two buttons are pressed, the line changes states and responds with visual feedback. The idea was to use this app and device for a Z axis controller (for deltabot im making).
Ill add pics of the board and app running after the holidays