Homework due Monday November 20


Here, we needed to work with the serial communication between Arduino and processing basing our code in the “hello world” and “dimmer” programs. 

Although it was not complicated, for some reason I started overthinking the assignment and thought we had to actually control the brightness with the processing sketch. It was way simpler.


Here is the Arduino code. It has very small tweaking. 


Here is the processing code. I added a couple lines to make the position and movement over the gradient more visual. It helps you get a sense of dimensions thanks to the display of the numbers in the LCD screen. 


I had to change my port in this line after updating to Mac OS Sierra

Watch out for that

Leave a Reply

Your email address will not be published. Required fields are marked *