clear display on init to avoid static
This commit is contained in:
1 parent
48e4a4289f
commit
afe3507ec5
4 files changed
+8
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user