diff --git a/Arduino/ArduinoRelayControl.ino b/Arduino/ArduinoRelayControl.ino index 5fa4727..38476db 100644 --- a/Arduino/ArduinoRelayControl.ino +++ b/Arduino/ArduinoRelayControl.ino @@ -6,7 +6,8 @@ const int relayPin[relayCount] = {3, 4, 5, 6}; const int btnPin[relayCount] = {7, 8, 9, 10}; byte relayState[relayCount] = {HIGH, HIGH, HIGH, HIGH}; //high -> relay off -byte buttonState[relayCount] byte lastButtonState[relayCount]; +byte buttonState[relayCount]; +byte lastButtonState[relayCount]; String receivedCom; String statusToSend;