You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/lib/lcd/lcd.py", line 158, in set_backlight
File "/lib/lcd/i2c_pcf8574_interface.py", line 71, in backlight
File "/lib/lcd/i2c_pcf8574_interface.py", line 96, in _i2c_write
RuntimeError: Function requires lock
My code:
lcd.set_backlight(False)
I'm new to i2c via CircuitPython, so not sure what to try next.
The text was updated successfully, but these errors were encountered:
Thanks for this library- I'm finding it easy to use!
I'm just playing with my new toy (Pi Pico) + pcf8574 i2c module, using the latest stable CircuitPython.
I tried to turn off/on the back light but got
_BACKLIGHT_VALUES
undefined erro ini2c_pcf8574_interface.py
.I modified it to:
but now get:
My code:
I'm new to i2c via CircuitPython, so not sure what to try next.
The text was updated successfully, but these errors were encountered: