LCD HD44780 driver library v1.0.3
lcd_hd44780_driver_commands.h
Go to the documentation of this file.
1
11// clang-format off
12
13// LCD driver commands
14#define LCDC_CLS 0x01
15#define LCDC_HOME 0x02
16/********************************/
17#define LCDC_ENTRY_MODE 0x04
18 #define LCDC_ENTRYR 0x02
19 #define LCDC_ENTRYL 0x00
20 #define LCDC_MOVE 0x01
21/********************************/
22#define LCDC_ONOFF 0x08
23 #define LCDC_DISPLAYON 0x04
24 #define LCDC_CURSORON 0x02
25 #define LCDC_CURSOROFF 0x00
26 #define LCDC_BLINKON 0x01
27/********************************/
28#define LCDC_SHIFT 0x10
29 #define LCDC_SHIFTDISP 0x08
30 #define LCDC_SHIFTR 0x04
31 #define LCDC_SHIFTL 0x00
32/********************************/
33#define LCDC_FUNC 0x20
34 #define LCDC_FUNC8B 0x10
35 #define LCDC_FUNC4B 0x00
36 #define LCDC_FUNC2L 0x08
37 #define LCDC_FUNC1L 0x00
38 #define LCDC_FUNC5x10 0x04
39 #define LCDC_FUNC5x7 0x00
40/********************************/
41#define LCDC_SET_CGRAM 0x40
42#define LCDC_SET_DDRAM 0x80
43
44// clang-format on