Arduino Example Snippet
#define POT_PIN 1
void setup() {
Serial.begin(9600);
}
void loop() {
int potValue = analogRead(POT_PIN);
Serial.print("Potentiometer Value: ");
Serial.println(potValue);
delay(10);
}
#define POT_PIN 1
void setup() {
Serial.begin(9600);
}
void loop() {
int potValue = analogRead(POT_PIN);
Serial.print("Potentiometer Value: ");
Serial.println(potValue);
delay(10);
}