GOTO defs added

This commit is contained in:
7u83 2024-06-05 08:21:58 +02:00
parent 253d1af028
commit 46444987c3

7
lcd.h
View File

@ -82,8 +82,11 @@
// 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; \