void setup() {
pinMode(12, INPUT);
}

void loop() {
 digitalWrite(LED_BUILTIN, digitalRead(12));
}