int sensorPin = A0;
int digitalValue = 0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
digitalValue = analogRead(sensorPin);
Serial.print("digital value = ");
Serial.println(digitalValue);
delay(1000);
}