added contrast control function for gLCDs

This commit is contained in:
Michael Mayer
2013-07-14 15:28:26 +07:00
parent 99b7e926e7
commit e509cdbeb0
7 changed files with 98 additions and 6 deletions

View File

@ -11,7 +11,12 @@
void lcd_setstatuspgm(const char* message);
void lcd_setalertstatuspgm(const char* message);
void lcd_reset_alert_level();
#ifdef DOGLCD
extern int lcd_contrast;
void lcd_setcontrast(uint8_t value);
#endif
static unsigned char blink = 0; // Variable for visualisation of fan rotation in GLCD
#define LCD_MESSAGEPGM(x) lcd_setstatuspgm(PSTR(x))