I would like to ask some help with the Lcd widget.I want to put one widget to say the state of my alarm system.If i put something like this in the loop:
if (digitalRead(armrelay) == HIGH)
lcd.clear();
lcd.print(4, 0, “system”);
lcd.print(4, 1, “armed”);
if (digitalRead(armrelay) == LOW)
lcd.clear();
lcd.print(4, 0, “system”);
lcd.print(4, 1, “disarmed”);
it keeps blinkinking the lcd digits due to the loop in the lcd.clear();??? and will the loop will cause flood?Thanks in advance.