Assignment 10.2

posted Jul 30, 2010, 9:07 AM by Unknown user

For this sketch I used the X position of the cursor in the Processing window to control both the brightness of an LED connected to pin 9 of my Arduino and the opacity of a rectangle in the Processing window. Here are my codes: