void setup() {
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
pinMode(5, INPUT_PULLUP);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LED_BUILTIN, digitalRead(5));
}
void setup() {
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
pinMode(5, INPUT_PULLUP);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LED_BUILTIN, digitalRead(5));
}