diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-19 17:06:11 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 277a2c0984a9bbe7e966d62ae05445c494d09455 (patch) | |
| tree | 48ea37d8ecba9f817f9e6f446251ab4c867e92b3 /3rd-party/LCDHD44780.c | |
| parent | 21cc48d2d5ce1a1bb3e8219c6d4cd4d321b978af (diff) | |
It's becoming clear i need to write my own interface
Diffstat (limited to '3rd-party/LCDHD44780.c')
| -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 |
