Open main menu
Changes
Week 3 Lab
2 bytes added
,
07:10, 13 April 2009
→
Potentiometer
The important part of this sketch is the line where the microprocessor reads the analog input:
<code>
val = analogRead(potPin); // read the value from the sensor
</code>
← Older edit
Newer edit →
Rtwomey
Bureaucrat
,
administrator
5,710
edits