int LED_PIN = 13;
int PUSH_1 = 15;
bool Push_button= false;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(LED_PIN, OUTPUT);
pinMode(PUSH_1, INPUT);
}
void loop() {
Push_button = digitalRead(PUSH_1);
if(Push_button == 1){
digitalWrite(LED_PIN, HIGH);
}
if(Push_button==0){
digitalWrite(LED_PIN,LOW);
}
}