aboutsummaryrefslogtreecommitdiff
path: root/3rd-party/LCDHD44780.h
diff options
context:
space:
mode:
Diffstat (limited to '3rd-party/LCDHD44780.h')
-rw-r--r--3rd-party/LCDHD44780.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/3rd-party/LCDHD44780.h b/3rd-party/LCDHD44780.h
index d25f046..8e2e953 100644
--- a/3rd-party/LCDHD44780.h
+++ b/3rd-party/LCDHD44780.h
@@ -51,13 +51,12 @@
#include <bcm2835.h>
// Define GPIO pin to LCD pin mapping
-#define LCD_RS RPI_V2_GPIO_P1_26
-#define LCD_RW RPI_V2_GPIO_P1_07
-#define LCD_E RPI_V2_GPIO_P1_24
-#define LCD_D4 RPI_V2_GPIO_P1_22
-#define LCD_D5 RPI_V2_GPIO_P1_18
-#define LCD_D6 RPI_V2_GPIO_P1_16
-#define LCD_D7 RPI_V2_GPIO_P1_12
+#define LCD_RS 21
+#define LCD_E 20
+#define LCD_D4 26
+#define LCD_D5 19
+#define LCD_D6 13
+#define LCD_D7 6
// Define some device constants
// Maximum characters per line
@@ -173,8 +172,6 @@ void clear_lcd(void);
void set_cursor(uint8_t addr);
-uint8_t busy_wait(void);
-
void display_off(void);
void show_cursor(bool on);