Changes

Jump to: navigation, search

Week 4 Lab

77 bytes added, 14:48, 21 April 2009
Serial Basics
* You can use this to verify values and behavior inside of a program, for debugging, for example:
** Displaying values of sensors : <code>val=analogRead(input_pin); Serial.print(val);</code>(assuming you've done the necessary setup).
** Checking program flow.
* Assuming you have a sensor which produces an analog output, hook it up to one of the Analog Inputs on your arduino. If you do not have a sensor, use the light sensor from last week. If you are not sure how your sensor works, come over and talk to me and we can try to figure it out.

Navigation menu