// include file for lcd.lib #define LCDCLS 'X' // Clear screen #define LCDHOME 'H' // Home the cursor #define LCDGOTO 'G' // Goto specified position #define LCDWRAPON 'C' // Enable line wrap #define LCDWRAPOFF 'D' // Disable line wrap #define LCDSCROLLON 'Q' // Enable auto scroll #define LCDSCROLLOFF 'R' // Disable auto scroll #define LCDCSRON 'J' // Turn current cursor position on #define LCDCSROFF 'K' // Turn current cursor position off #define LCDCSRLEFT 'L' // Move cursor left #define LCDCSRRIGHT 'M' // Move cursor right #define LCDBLINKON 'S' // Turn blinking cursor on #define LCDBLINKOFF 'T' // Turn blinking cursor off #define LCDLIGHTON 'B' // Turn backlight on #define LCDLIGHTOFF 'F' // Turn backlight off #define LCDBGRAPHINITH 'h' // Initialise horizontal bar graph #define LCDBGRAPHINITVTHICK 'v' // Initialise thick vertical bar graph #define LCDBGRAPHINITVTHIN 's' // Initialise thin vertical bar graph #define LCDBGRAPHH '|' // Horizontal bar graph #define LCDBGRAPHV '=' // Vertical bar graph