popovicr:
@J-M-L I want help with this code. Try it without relays. Just board and display. On start, program is freeze. Welcome message and program is mixed on display. I dont know why is stuck
the program expects sensors to be connected. as gfvalvo states
while (fillSensState == HIGH) {
actDrainPumpON();
[color=red]fillSensState = digitalRead(fillSens);
[/color] }
if your pin fillSens (A2) is LOW then the code will be stuck there and if the pin is floating then the behavior will be unpredictable