/* Fab academy 2020 Author: Anssi Heikkinen */ // potentiometer pin const int potPin = A0; void setup() { Serial.begin(9600); } void loop() { // Getting value from potentiometer and printing it int value = analogRead(potPin); Serial.println(value); // adding some delay to avoid spam delay(1000); }