Newly printed value overlaps the old value instead of replacing it. ESP32 #232
-
I'm connecting a SSD1283A display to an ESP32 Dev Kit (DOIT ESP32 DEVKIT V1). On the display I want to print a sensor value on screen every 3 seconds but instead of replacing the old printed text, it is overlapping the old value. Should I be clearing the display first or flush the changes at the end of the loop? I did not see it in any examples so I don't think it is necessary. Does somebody know what I'm doing wrong?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The default text background color is transparent. I you case you need set a solid background, e.g.: |
Beta Was this translation helpful? Give feedback.
The default text background color is transparent. I you case you need set a solid background, e.g.:
gfx->setTextColor(WHITE, BLACK);