40 const uint8_t LCD_CLEARDISPLAY = 0x01;
41 const uint8_t LCD_RETURNHOME = 0x02;
42 const uint8_t LCD_ENTRYMODESET = 0x04;
43 const uint8_t LCD_DISPLAYCONTROL = 0x08;
44 const uint8_t LCD_CURSORSHIFT = 0x10;
45 const uint8_t LCD_FUNCTIONSET = 0x20;
47 const uint8_t LCD_BACKLIGHT = 0x08;
48 const uint8_t LCD_NOBACKLIGHT = 0x00;
51 const uint8_t LCD_ENTRYRIGHT = 0x00;
52 const uint8_t LCD_ENTRYLEFT = 0x02;
53 const uint8_t LCD_ENTRYSHIFTINCREMENT = 0x01;
54 const uint8_t LCD_ENTRYSHIFTDECREMENT = 0x00;
57 const uint8_t LCD_DISPLAYON = 0x04;
58 const uint8_t LCD_DISPLAYOFF = 0x00;
59 const uint8_t LCD_CURSORON = 0x02;
60 const uint8_t LCD_CURSOROFF = 0x00;
61 const uint8_t LCD_BLINKON = 0x01;
62 const uint8_t LCD_BLINKOFF = 0x00;
65 const uint8_t LCD_DISPLAYMOVE = 0x08;
66 const uint8_t LCD_MOVERIGHT = 0x04;
67 const uint8_t LCD_MOVELEFT = 0x00;
70 const uint8_t LCD_8BITMODE = 0x10;
71 const uint8_t LCD_4BITMODE = 0x00;
72 const uint8_t LCD_2LINE = 0x08;
73 const uint8_t LCD_1LINE = 0x00;
74 const uint8_t LCD_5x10DOTS = 0x04;
75 const uint8_t LCD_5x8DOTS = 0x00;
78 const uint8_t LCD_SETCGRAMADDR = 0x40;
81 const uint8_t LCD_EN = 0x04;
82 const uint8_t LCD_RW = 0x02;
83 const uint8_t LCD_RS = 0x01;
84 const uint8_t LCD_DATA = 0x40;
85 const uint8_t LCD_CMD = 0x80;