// Just a simple slide-switch demo

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(5, INPUT_PULLUP);
  pinMode(6, INPUT_PULLUP);
}

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