GOTO defs added
This commit is contained in:
parent
253d1af028
commit
46444987c3
7
lcd.h
7
lcd.h
@ -82,8 +82,11 @@
|
|||||||
// Set DD RAM Address --------- 0b1xxxxxxx (Display Data RAM)
|
// Set DD RAM Address --------- 0b1xxxxxxx (Display Data RAM)
|
||||||
#define LCD_SET_DDADR 0x80
|
#define LCD_SET_DDADR 0x80
|
||||||
|
|
||||||
// LCD_E=1; \
|
|
||||||
// LCD_E=0; \
|
#define LCD_GOTO_HOME LCD_SET_DDADR
|
||||||
|
#define LCD_GOTO_LINE1 LCD_GOTO_HOME
|
||||||
|
#define LCD_GOTO_LINE2 LCD_SET_DDADR+0x40
|
||||||
|
|
||||||
|
|
||||||
#define lcd_wait_ready()\
|
#define lcd_wait_ready()\
|
||||||
LCD_E=1; \
|
LCD_E=1; \
|
||||||
|
Loading…
Reference in New Issue
Block a user