5,710
edits
Changes
→controlling from a Processing app
** Now if I run the sketch again, I know that it will be properly communicating with the Arduino. You will need to modify that line to reflect whichever serial port your arduino is connected to.
* Upload the original (unmodified) Dimmer code to your arduino in the arduino software. Your processor should now be running that code... waiting for input!
* Run your newly created arduino_test sketch in processing. *Computer -> Arduino*Arduino -> Computer You will see a small graphic window, as you drag your mouse forwards and backwards across that window, your motor should speed up and slow down. Allright!! Now you have a simple graphical interface!
=== Homework ===