diff options
Diffstat (limited to 'board.h')
-rwxr-xr-x[-rw-r--r--] | board.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -25,19 +25,19 @@ #include <stdint.h> // Port 1 pins -#define LED (1 << 0) +#define LCD_DATL (0x0F) +#define LCD_RW (1 << 4) +#define LCD_RS (1 << 5) #define TEMP_SCL (1 << 6) #define TEMP_SDA (1 << 7) -#define PORT1_PINS (LED | TEMP_SCL | TEMP_SDA) +#define PORT1_PINS (LCD_DATL | LCD_RW | LCD_RS | TEMP_SCL | TEMP_SDA) // Port 2 pins -#define LCD_DAT (0x0F) +#define LCD_DATH (0x0F) #define LCD_E (1 << 4) -#define LCD_RW (1 << 5) -#define LCD_RS (1 << 6) -#define PORT2_PINS (LCD_DAT | LCD_E | LCD_RW | LCD_RS) +#define PORT2_PINS (LCD_DATH | LCD_E) /** * Initializes pins and core functionality. |