ST7735 display flickering

ericgibbs

Joined Jan 29, 2010
21,442
hi,
That's good to hear.
I also use a different colour for the data text to show that a value has increased or decreased in value... say Red for increased and Green for decrease from previous value.

E
 

Ian Rogers

Joined Dec 12, 2012
1,136
Another trick is to hold your text in a buffer... Then just before you print a new value print the old value using black as the text colour, then immediately print the new value in green, that will erase then pixels, this prevents the need for a filled rectangle and is also faster..
 

ericgibbs

Joined Jan 29, 2010
21,442
hi.
I have found that It is quicker to fill a small rectangle than it is to overwrite an existing displayed data string using the TFT background colour, considering accessing the character pixel Font table and its associated X,Y pointer coding.
E
 
Top