Changes

Jump to: navigation, search

Week 4 Lab

1 byte removed, 04:37, 21 April 2009
controlling from a Processing app
[6] "/dev/tty.Bluetooth-Modem"
[7] "/dev/cu.Bluetooth-Modem"
** I know that my serial port is the "tty.usbserial-A900acnt", which is listed as device number 2 ([2]), so I go back into the processing code and change the line that says <code>port = new Serial</code>... to read <code>port = new Serial(this, Serial.list()[2], 9600);</code>
** 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!

Navigation menu