aboutsummaryrefslogtreecommitdiffstats
path: root/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board.h')
-rwxr-xr-x[-rw-r--r--]board.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/board.h b/board.h
index abbc952..7c796a8 100644..100755
--- a/board.h
+++ b/board.h
@@ -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.