Changes

Jump to: navigation, search

Week 4 Lab

178 bytes added, 15:28, 21 April 2009
The other way around: Driving a Computer Program with Data from the Arduino
* Wire up three potentiometers as voltage dividers (like last week), and connect them to Analog_IN pins 0, 1, and 2.
[[Image:Pot_in.png]]
*Compile the Virtual Color Mixer, and upload it to your arduino.
*In the Serial Monitor, verify that you see R, G, and B values, and they change as you move the potentiometers.
*Create the processing Sketch "arduino_color_mixer"
*Change the Serial port in the initialization in Processing. (<code>port = new Serial(this, Serial.list()[2], 9600);</code> on my computer)

Navigation menu