i have a 16x2 LCD screen that i have configured to print values being read from a pixart infrared sensor.
the code prints the x and y values as read by the sensor. the resolution of this sensor is 1024 by 780.
let's say i do the following:
read/print X values from the sensor starting at 0, then moving up to 10, then 100, and finally 1000.
now, i move in reverse - back down to 0.
problem: the numbers printed from the upper ranges (1000, etc) are not cleared when printing lower values.
i am unfamiliar with how to handle this, as this is my first experiment with an LCD screen. i don't want to clear the whole screen, i just want to print ONLY the digits being read from the sensor.
i hope this is clear. thank you for your time.
nym
here is an example of what i am doing, with a commented out portion where i was trying to print blanks where otherwise there would be leftover numbers.