Exemplo n.º 1
0
void LCD_setup() 
{
  // set up the LCD's number of columns and rows: 
  lcd.begin(16, 2);
  lcd.noCursor();
  lcd_enabled = 0;
  lcd.noDisplay();
}
Exemplo n.º 2
0
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();
  }
}
Exemplo n.º 3
0
void off() {
    lcd.noDisplay();
    led.off();
}