void setup() { Serial.begin(9600); } void loop() { int val; val = analogRead(A1); Serial.println(val); delay(500); }