int sensorPin = 1; // select the input pin for the potentiometer int sensorValue = 0; // variable to store the value coming from the sensor void setup() { Serial.begin(115200); pinMode(sensorPin, INPUT); } void loop() { // read the value from the sensor: sensorValue = analogRead(sensorPin); Serial.print(sensorValue); Serial.println("\""); delay(100); }