LCD screen unwanted refreshing

I have a slight bug in my code..
At the moment if I don't use the lcd.clear(); then I end up with the remaining text from previous "if" statements.
However if I include the lcd.clear(); Then the screen gets into the specific loop and keeps clearing the LCD and therefore it kind of blinks the text.

Any idea how I can clear the screen once when it transitions through different if statements??

Clear space for new data by overwriting old data with spaces, reset the cursor and write the new data.

1 Like

Oh my thanks..... so obvious when it's been pointed out lol I blame the warm day for fogging my brain!

Thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.