void setup() {
  // put your setup code here, to run once:
  pinMode(2, OUTPUT);
  pinMode(3, INPUT_PULLUP);
}
void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(2, !digitalRead(3));
  delay(500);
}
void setup() {
  // put your setup code here, to run once:
  pinMode(2, OUTPUT);
  pinMode(3, INPUT_PULLUP);
}
void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(2, !digitalRead(3));
  delay(500);
}