#define SENSOR_PIN A5 void setup() { Serial.begin(9600); } void loop() { delay(1000); int val = analogRead(SENSOR_PIN); Serial.println(val); }