diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-19 17:06:11 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2021-01-19 17:06:11 -0500 |
| commit | 9fea24bafc082076d34cbcdff900c882f6f842fb (patch) | |
| tree | 48ea37d8ecba9f817f9e6f446251ab4c867e92b3 | |
| parent | 976c94a34881c30bdd236cddd845681d89484202 (diff) | |
It's becoming clear i need to write my own interface
| -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 |
