15 #define LCD_MAX_WIDTH 20 16 #define LCD_MAX_LINES 4 22 extern void LCDGoTo(uint8_t pos);
void InitLCD(void)
Initializes the LC-Display.
Definition: lcd.c:187
void LCDGoTo(uint8_t pos)
Sets the Cursor Position.
Definition: lcd.c:222
static uint8_t LCDGetBrightness(void)
Gets the current Brightness of the LCD Backlight.
Definition: lcd.h:42
bool LCDBuildVBarChars(uint8_t nBars)
Builds the Character Array for vertical Bar Graphs.
Definition: lcd.c:329
FILE lcd
Definition: lcd.c:41
void LCDPrintLine_P(uint8_t line, const char *fmt,...)
Printf for one complete Line of the Display.
Definition: lcd.c:254
uint8_t lcdVbarChar[LCD_MAX_LINES]
Holds the characters for Vertical Bar Graph from Line 3 to 0.
Definition: lcd.h:26
#define LCD_MAX_LINES
Maximum allowable numbers of lines for all possible displays.
Definition: lcd.h:16
static void LCDSetBrightness(uint8_t val)
Sets the Brightness of the LCD Backlight.
Definition: lcd.h:34
void LCDInitCGRAM()
Initializes the Character Generator RAM.
Definition: lcd.c:165
static uint8_t LCDGetContrast(void)
Gets the current Contrast of the LCD.
Definition: lcd.h:59
void LCDClear(void)
Clears the LCD and sets Cursor to Home Postion.
Definition: lcd.c:150
int8_t LCDHBarGraph(uint8_t line, uint8_t val)
Prints a Line of Bar Graph. The rest of the line is cleared.
Definition: lcd.c:364
bool LCDBuildVBarChar(uint8_t nBars)
Builds a Character for vertical Bar Graph.
Definition: lcd.c:306
static void LCDSetContrast(uint8_t val)
Sets the Contrast of the LCD.
Definition: lcd.h:51