Replies: 1 comment 1 reply
-
option 1: use font mode 0 (https://github.com/olikraus/u8g2/wiki/u8g2reference#setfontmode) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using U8g2 and I can't seem to find a way to replace one character in a string.
For example, I do:
display.drawStr(10, 0, "Testing");
display.sendBuffer();
then later do:
display.drawStr(10, 0, "Test it");
display.sendBuffer();
The "Test it" is written on top of the "Testing" instead of clear the Testing then print Test it.
Is there a way to clear the "area" with background color and then draw new string?
I tried print empty string but it didn't clear the area and I can't find any drawFilledRect() to do so.
Beta Was this translation helpful? Give feedback.
All reactions