Plan
Board
Made with Fritzing
Code
int pinPot = 2;
int val = 0;
void setup()
{
Serial.begin(9600);
}
void loop()
{
int val = analogRead(pinPot);
Serial.println(val);
delay(300);
}
Download
Fritzing: poti.fzz
Made with Fritzing
int pinPot = 2;
int val = 0;
void setup()
{
Serial.begin(9600);
}
void loop()
{
int val = analogRead(pinPot);
Serial.println(val);
delay(300);
}
Fritzing: poti.fzz