void LCD_setup() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); lcd.noCursor(); lcd_enabled = 0; lcd.noDisplay(); }
void LCD_loop() { if (lcd_disable_timeout && (millis() - lcd_update_time > lcd_disable_timeout)) { /* Disable the display when inactive */ lcd_update_time = millis(); lcd_enabled = 0; lcd.noDisplay(); } }
void off() { lcd.noDisplay(); led.off(); }