Hardware Reference
In-Depth Information
3.4.1.2 Writing Program
To read analog input, we use analogRead(), http://arduino.cc/en/Reference/AnalogRead .
Open Arduino Sketch and write this code.
int val = 0 ;
int pot = 0 ;
void setup ()
{
Search WWH ::




Custom Search