diff --git a/OLEDDisplay.cpp b/OLEDDisplay.cpp index f8fc226519b37df85862d0ff3e72bd26a4691eaa..a5b777b0e7447aa240a243062b0cd07c3bc6874a 100644 --- a/OLEDDisplay.cpp +++ b/OLEDDisplay.cpp @@ -555,6 +555,11 @@ void OLEDDisplay::flipScreenVertically() { sendCommand(COMSCANDEC); //Rotate screen 180 Deg } +void OLEDDisplay::mirrorScreen() { + sendCommand(SEGREMAP); + sendCommand(COMSCANDEC); //Mirror screen +} + void OLEDDisplay::clear(void) { memset(buffer, 0, DISPLAY_BUFFER_SIZE); }