If one of 3 inputs is high then a bool should be set High. When all buttons are released, the bool should be Low. I’ve tried this:
mybool = digitalRead(Button1) || digitalRead(Button2) || digitalRead(Button3);
But this does not seem to work. How can I fix this?