#define Button_Pin 5
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
pinMode(Button_Pin, INPUT_PULLUP);
}
void loop(){
if(digitalRead(Button_Pin) == LOW){
digitalWrite(LED_BUILTIN, HIGH);
}
else{
digitalWrite(LED_BUILTIN, LOW);
}
}