1
0
forked from me/IronOS

Add POC contrast and screen invert settings

This commit is contained in:
Alvin Wong
2021-07-14 16:00:44 +08:00
parent 758379a7e6
commit 4ab3b5b116
4 changed files with 63 additions and 1 deletions

View File

@@ -62,6 +62,8 @@ public:
static void setRotation(bool leftHanded); // Set the rotation for the screen
// Get the current rotation of the LCD
static bool getRotation() { return inLeftHandedMode; }
static void setContrast(uint8_t contrast);
static void setInverseDisplay(bool inverted);
static int16_t getCursorX() { return cursor_x; }
static void print(const char *string, FontStyle fontStyle); // Draw a string to the current location, with selected font
static void printWholeScreen(const char *string);