int pot = A8;
int val;
void setup() {
pinMode(pot, INPUT);// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
val = analogRead(pot); // put your main code here, to run repeatedly:
Serial.println(val);
}
int pot = A8;
int val;
void setup() {
pinMode(pot, INPUT);// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
val = analogRead(pot); // put your main code here, to run repeatedly:
Serial.println(val);
}