diff --git a/lcd.h b/lcd.h index 274b0dc..726aa1b 100644 --- a/lcd.h +++ b/lcd.h @@ -81,9 +81,12 @@ // Set DD RAM Address --------- 0b1xxxxxxx (Display Data RAM) #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()\ LCD_E=1; \