SuperHouse / esp-open-rtos

Open source FreeRTOS-based ESP8266 software framework
BSD 3-Clause "New" or "Revised" License
1.53k stars 491 forks source link

In the hd44780 library, how do you use the set_backlight function? The first argument is 'hd44780_t *lcd #758

Open sam632 opened 4 years ago

sam632 commented 4 years ago

In the hd44780 library, how do you use the set_backlight function? The first argument is 'hd44780_t lcd' whereas the other functions use 'const hd44780_t lcd' which is &lcd in my code (following the example provided) so I'm wondering what I need to write in set_backlight to get it to work. Context: Trying to turn the backlight on and off with a button.