void setup() {
// initialize serial communication at 9600 per second:
Serial.begin(9600);
}
//the loop
void loop() {
// Read the input on analog pin 0:
int sensorvalue = analogRead(A0);
//print out the value you read"
Serial.println(sensorvalue);
delay(1); //delay in between reads for stability
}