Changes

Jump to: navigation, search

Week 4 Lab

6 bytes added, 15:47, 21 April 2009
Sending Data from the Computer to Control your Arduino
== Sending Data from the Computer to Control your Arduino ==
===Controlling a physical LED with the computer.===
* Compile the Examples->Communication->Dimmer example, and upload it to your board. This example sets up communication on the serial port (in the <code>void setup()</code> function, and then reads values from the <code>Serial</code> input, and writes them to the <code>ledPin</code> output.
* Connect up the TIP120 driver circuit and motor from last week to the <code>ledPin</code> (pin 9). You should now be able to control the motor speed via the serial port on your computer... interesting...

Navigation menu