// Just a simple slide-switch demo

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

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