Changes

Jump to: navigation, search

Week 3 Lab

74 bytes added, 15:26, 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: How can you verify what numbers your guess for the A/D has measured internallyprevious question? Come up with a plausible method, and try it out. Anything goes! (even using functions next weeks material, like Sketchbook->Communication->Graph) If you have a good idea, share it with the class....
=== photoresistor ===

Navigation menu