void setup() { // put your setup code here, to run once:Serial.begin(9600); //set serial begin to 9600 bauds
}
void loop() { // put your main code here, to run repeatedly:Serial.println(analogRead(A0)); //print the data of the sensor to the serial monitor //delay by 1 second(1000 milliseconds) delay(50);