int AnalogVal =0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
AnalogVal = analogRead(A0);
Serial.println(AnalogVal);
delay(500);
}
int AnalogVal =0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
AnalogVal = analogRead(A0);
Serial.println(AnalogVal);
delay(500);
}