const int SoftPot = A0; // Pin connected to softpot wiper const int GRAPH_LENGTH = 40; // Length of line graph void setup() { Serial.begin(9600); pinMode(SoftPot, INPUT); } void loop() { // Read in the soft pot's ADC value int softPotADC = analogRead(SoftPot); Serial.println(softPotADC); delay(200); }