#define POTIPIN A0 void setup() { Serial.begin(115200); } void loop() { Serial.println(analogRead(POTIPIN)); delay(100); }