From 277a2c0984a9bbe7e966d62ae05445c494d09455 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Tue, 19 Jan 2021 17:06:11 -0500 Subject: It's becoming clear i need to write my own interface --- 3rd-party/LCDHD44780.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to '3rd-party') diff --git a/3rd-party/LCDHD44780.c b/3rd-party/LCDHD44780.c index e7837d0..8a01a20 100644 --- a/3rd-party/LCDHD44780.c +++ b/3rd-party/LCDHD44780.c @@ -47,24 +47,6 @@ void init_gpio(void) } -void set_data_pins_to_output(void) -{ - // set data pins to output - bcm2835_gpio_fsel(LCD_D7, BCM2835_GPIO_FSEL_OUTP); - bcm2835_gpio_fsel(LCD_D6, BCM2835_GPIO_FSEL_OUTP); - bcm2835_gpio_fsel(LCD_D5, BCM2835_GPIO_FSEL_OUTP); - bcm2835_gpio_fsel(LCD_D4, BCM2835_GPIO_FSEL_OUTP); -} - -void set_data_pins_to_input(void) -{ - // set data pins to input - bcm2835_gpio_fsel(LCD_D7, BCM2835_GPIO_FSEL_INPT); - bcm2835_gpio_fsel(LCD_D6, BCM2835_GPIO_FSEL_INPT); - bcm2835_gpio_fsel(LCD_D5, BCM2835_GPIO_FSEL_INPT); - bcm2835_gpio_fsel(LCD_D4, BCM2835_GPIO_FSEL_INPT); -} - void pulse_e(void) { // Toogle ENABLE pin in us -- cgit v1.3.1