This commit is contained in:
olikraus
2015-12-29 21:34:52 +01:00
parent c50f686ea8
commit 6324dbe820
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class U8G2 : public Print
/* LiquidCrystal compatible functions */
void home(void) { tx = 0; ty = 0; }
void clear(void) { clearDisplay(); home(); }
void clear(void) { clearBuffer(); home(); }
void noDisplay(void) { u8g2_SetPowerSave(&u8g2, 1); }
void display(void) { u8g2_SetPowerSave(&u8g2, 0); }
void setCursor(uint8_t x, uint8_t y) { tx = x; ty = y; }