commands needs double check..

This commit is contained in:
Christian Lind Vie Madsen
2024-08-01 16:42:56 +02:00
parent 11257687c2
commit 75e645eebf
2 changed files with 31 additions and 8 deletions

View File

@@ -21,15 +21,16 @@ typedef enum {
LCD_HD44780_CLEAR_DISP = 0x1,
LCD_HD44780_RETURN_HOME = 0x2,
LCD_HD44780_ENTRY_MODE = 0x3,
LCD_HD44780_DISP_ONOFF_CTL = 0x4,
LCD_HD44780_ENTRY_MODE = 0x6,
LCD_HD44780_DISP_ONOFF_CTL = 0xE,
LCD_HD44780_CURSOR_SHIFT = 0x6,
LCD_HD44780_FUNCTION_SET = 0x30,
}hd44780_cmd_t;
typedef enum{
LCD_HD44780_GET = 0,
LCD_HD44780_SET = 1,
LCD_HD44780_SET = 0,
LCD_HD44780_GET = 1,
}hd44780_setGet_t;