I have a program that monitors water pressure and displays it on a sparkfun 16x2 serLCD. The pressure value is updated every 500 milliseconds. All is well if the display shows 0-99, but when the pressure reaches 100 and decreases back to 99, the “ones” digit does not clear so the display reads “990” for 99. It will do this when any value takes up more spaces then the next value.
For example:
It will print “this is a test”
Then “good”
The display will read “good is a test”
I can use the clrLCD command but then I have to reprint all of the other information on the screen