5,710
edits
Changes
→The other way around: Driving a Computer Program with Data from the Arduino
*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.
[[Image:Color_mix_serialout.png]]
*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)