1/11/17 Servo & LED (Processing/Arduino Communication)

In the first part of this assignment, I elaborated on the ‘dimmer’ communication example we did in class to make a servo respond to the mouseX position on a gradient created in processing:

Servo Arduino CODE:

Servo Processing CODE:

The second half of the assignment was to turn an LED on and off by clicking on different rectangles in processing:

LED Arduino CODE:

LED Processing CODE:

 

Leave a Reply

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