Esempio n. 1
0
//print all temperatures on the LCD
void LcdDisplay::printAllTemperatures(void) {
    // alternate between beer and room temp
    if (flags & LCD_FLAG_ALTERNATE_ROOM) {
        bool displayRoom = ((ticks.seconds()&0x08)==0) && !BREWPI_SIMULATE && tempControl.ambientSensor->isConnected();
        if (displayRoom ^ ((flags & LCD_FLAG_DISPLAY_ROOM)!=0)) {	// transition
            flags = displayRoom ? flags | LCD_FLAG_DISPLAY_ROOM : flags & ~LCD_FLAG_DISPLAY_ROOM;
            printStationaryText();
        }
    }

    printBeerTemp();
    printBeerSet();
    printFridgeTemp();
    printFridgeSet();
}
Esempio n. 2
0
//print all temperatures on the LCD
void Display::printAllTemperatures(void) {
    printBeerTemp();
    printBeerSet();
    printFridgeTemp();
    printFridgeSet();
}