works now and is tested.. but needs cleanup!!
This commit is contained in:
@@ -23,9 +23,11 @@ typedef enum {
|
||||
LCD_HD44780_RETURN_HOME = 0x2,
|
||||
LCD_HD44780_ENTRY_MODE = 0x6,
|
||||
LCD_HD44780_DISP_ONOFF_CTL = 0xE,
|
||||
LCD_HD44780_DISPLAY_ON_CURSOR_ON_BLINK_ON = 0x0F,
|
||||
LCD_HD44780_CURSOR_SHIFT = 0x6,
|
||||
LCD_HD44780_FUNCTION_SET = 0x30,
|
||||
|
||||
|
||||
}hd44780_cmd_t;
|
||||
|
||||
typedef enum{
|
||||
@@ -86,5 +88,9 @@ typedef struct{
|
||||
void lcd_hd44780_init(cm_lcd_hd44780_t *inst,lcd_hd44780_bitmode bit_mode);
|
||||
void lcd_hd44780_regGpioEvt(cm_lcd_hd44780_t *inst, setGet_Gpio_Event_fpt getGpioEvt_fpt);
|
||||
void lcd_hd44780_regWaitEvt(cm_lcd_hd44780_t *inst, wait_ms_Event_fpt waitEvt_fpt);
|
||||
void lcd_hd44780_cursorHome(cm_lcd_hd44780_t *inst);
|
||||
void lcd_hd44780_printf(cm_lcd_hd44780_t *inst, char *string);
|
||||
void lcd_hd44780_clearDisp(cm_lcd_hd44780_t *inst);
|
||||
void lcd_hd44780_print_xy(cm_lcd_hd44780_t *inst, uint8_t x, uint8_t y, const char *str);
|
||||
|
||||
#endif /*LCD_HD44780_H_*/
|
||||
|
||||
Reference in New Issue
Block a user