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