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