-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to clearRect or setColor on SSD1306 ?? #74
Comments
Hi
The way for you is to use Best regards |
Thank you, this indeed works:
I had only tested this with no success:
This however has an effect:
That setColor(0) makes invertColors having no effect. setColor(255) enables it again:
So what confuses me is that this has no effect:
So for It is still nice because printing text will overwrite the area anyway (which i had not been aware of and therefore wanted a clearRect). So no need to set background and forground color but one call to A bit confusing but i have no idea for you how to do it better :-) |
Sorry for another simple question :-/
Have found nothing in your nice https://codedocs.xyz/lexus2k/lcdgfx/index.html
I only want to clear a small region like a
clearRect(0,0,32,16);
to prevent the flickering ofdisplay.clear();
.Or is there a way to set the color to black like
display.setColor(RGB_COLOR8(0,0,0));
?My workaround:
display.printFixed(x, y, " ");
Thanks again :-)
The text was updated successfully, but these errors were encountered: