Changes

Jump to: navigation, search

Week 3 Lab

7 bytes added, 15:09, 14 April 2009
Potentiometer
*Q: The important part of this sketch is the line where the microprocessor reads the analog input:<code> val = analogRead(potPin);</code> Looking at the Arduino help for that function (<code>analogRead()</code>), what do you think the value <code>val</code> will be for those highest and lowest voltages at your A_IN pin?
*Q: Come up with some way to verify your guess. How can you determine verify what value numbers the A/D is measuring has measured internally. ? Come up with a plausible method, and try it out. Anything goes!! If you have a good idea, share it with the class....
=== photoresistor ===

Navigation menu