void setup() {
// put your setup code here, to run once:
pinMode(11, OUTPUT);
pinMode(3, INPUT_PULLUP);
}
void loop() {
// put your main code here, to run repeatedly:
int key=digitalRead(3);
{
if(key);
digitalWrite(11, LOW);
}
delay(500);
digitalWrite(11, HIGH);
}