|
One othjer issue, when you write the ADC inside a fast looping structure, you
get a lot of screen jitter due to noise, and display is a little unreadable. Keep
in mind LCD has its own controller refreshing the LCD and fast updates to this
asynch interface cause visual issues even if no charaxcter is changing.
Two approaches -
1) Delay the loop so screen update not so frequent
2) Build a buffer for the display. When you go to write display you check buffer,
character for character, what you want to write, and only write those LCD characters
that have changed compared to whats in the buffer, updating buffer with the new
character after. This makes a very stable display. Prefered method by far.
You will still get jitter, but now only the digits/characters that are changing, not the
whole LCD display line.
Regards, Dana.
|