int switch1 = 13;
int led = 12;
void setup() {
// put your setup code here, to run once:
pinMode(switch1, INPUT_PULLUP);
pinMode(led, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int status;
status=digitalRead(switch1);
Serial.println(status);
digitalWrite(led, HIGH);
delay(100);
}