int SWITCH1 = 13;
int LED1 = 12;

void setup() {
 pinMode(SWITCH1, INPUT_PULLUP);
 pinMode(LED1, OUTPUT);
}

void loop() {
  int status;
  status = digitalRead(SWITCH1);
  Serial.println(status);
  digitalWrite(LED1, status);
  delay(1000);
}