mirror of
https://github.com/pelgraine/Meck.git
synced 2026-05-09 06:44:44 +02:00
clear display on init to avoid static
This commit is contained in:
@@ -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