int button_1 = 19;
int button_2 = 18;
void setup() {
pinMode(button_1, INPUT);
pinMode(button_2, INPUT);
Serial.begin(9600);
}
void loop() {
int button_1_state = digitalRead(button_1);
int button_2_state = digitalRead(button_2);
if(button_1_state == LOW){
Serial.println("Button 1 is pressed");
delay(200);
}
if(button_2_state == HIGH){
Serial.println("Button 2 is pressed");
delay(200);
}
}