mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
clear display on init to avoid static
This commit is contained in:
parent
0a62ab663f
commit
87443ad43f
4 changed files with 8 additions and 0 deletions
|
|
@ -20,6 +20,11 @@ void SSD1306Display::turnOff() {
|
|||
_isOn = false;
|
||||
}
|
||||
|
||||
void SSD1306Display::clear() {
|
||||
display.clearDisplay();
|
||||
display.display();
|
||||
}
|
||||
|
||||
void SSD1306Display::startFrame(Color bkg) {
|
||||
display.clearDisplay(); // TODO: apply 'bkg'
|
||||
_color = SSD1306_WHITE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue