void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(4, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int sensorValue = digitalRead(4);
Serial.println(sensorValue);
}
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(4, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int sensorValue = digitalRead(4);
Serial.println(sensorValue);
}