GOTO defs added
This commit is contained in:
parent
253d1af028
commit
46444987c3
9
lcd.h
9
lcd.h
@ -81,9 +81,12 @@
|
|||||||
|
|
||||||
// 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