void setup(){
pinMode(18, INPUT);
pinMode(19, INPUT);
pinMode(23, OUTPUT);
}
void loop(){
bool button1 = digitalRead(18);
bool button2 = digitalRead(19);
if (button1 || button2) {
digitalWrite(23, HIGH);
} else {
digitalWrite(23, LOW);
}
}