const int sensorPin = A0; // This selects which pin is recieving the data void setup() { Serial.begin(115200); while (!Serial); } void loop() { int sensorValue = analogRead(sensorPin); // This reads the data from the defined pin // This sends the value it is reading Serial.println(sensorValue); delay(200); // This controls how fast the graphic scrolls. }