diff options
| -rw-r--r-- | 3rd-party/LCDHD44780.c | 18 |
1 files changed, 0 insertions, 18 deletions
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 |
