Relay Control: 4 Relays, 4 Pushbuttons

Hi,
This

  digitalRead(button1);

needs to be;

  button1State = digitalRead(button1);

and you need to declare

bool button1State ;

Tom.. :slight_smile: