Help with LCD widget

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.

Yes it will flood the server, you need to use Blynk Timer, see PUSH DATA example.

If you are only using the LCD for this one task then change “armed” to "armed " ( 3 spaces at the end) and then you don’t really need to clear.

thanks kostas