//print the stationary text on the lcd. void LcdDisplay::printStationaryText(void) { printAt_P(0, 0, PSTR("Mode")); printAt_P(0, 1, STR_Beer_); printAt_P(0, 2, (flags & LCD_FLAG_DISPLAY_ROOM) ? PSTR("Room ") : STR_Fridge_); printDegreeUnit(18, 1); printDegreeUnit(18, 2); }
//print the stationary text on the oled. void Display::printStationaryText(void) { oled.setCursor(0,0); oled.print_P(PSTR("Mode ")); oled.setCursor(0,1); oled.print_P(PSTR("Beer ")); oled.setCursor(0,2); oled.print_P(PSTR("Fridge ")); oled.setCursor(18,1); printDegreeUnit(); oled.setCursor(18,2); printDegreeUnit(); }