Interface for Dot-Matrix LCDs 0.8
⇒ back to Project Page
void lcd_set_backlight ( uint8_t  control)

This function sets or alternates the backlight (pin) of the LCD.

Parameters:
[in]controlsets the backlight, possible values are:

  • LCD_BL_SWITCH_OFF: switches the backlight off
  • LCD_BL_SWITCH_ON: switches the backlight on
  • LCD_BL_ALTERNATE: alternates the backlight
Date:
  • Created 05.08.2011
  • Modified 05.08.2011
Author:
Michael Skutek, michael@skutek.de

Definition at line 88 of file lcd.c.

References lcd_backlight_state, LCD_BL_ALTERNATE, LCD_BL_OFF, LCD_BL_ON, LCD_BL_SWITCH_OFF, LCD_BL_SWITCH_ON, LCDBL_CTRL, and LCDBL_PORT.

 All Files Functions Variables Defines