rm-hull / luma.lcd

Python module to drive PCD8544, HT1621, ST7735, ST7567 and UC1701X-based LCDs
https://luma-lcd.readthedocs.io
MIT License
156 stars 56 forks source link

Standard 'gpio_LIGHT' pin causes crash of I2S #145

Closed avjui closed 2 years ago

avjui commented 2 years ago

Type of Raspberry Pi

RPI3

Linux Kernel version

Linux livingfoxi 5.4.83-v7+ #1379 SMP Mon Dec 14 13:08:57 GMT 2020 armv7l GNU/Linux

Expected behaviour

I2S breaks on initial of LCD device when no gpio_LIGHT is set

Actual behaviour

I run in this issues and it took me a while to find the problem. When you initial a display with backlight support and you not set 'gpio_LIGHT' pin it use GIO18(I2S CLK). It would be good to document this or change the standard pin to one how not used by standard bus like I2S.

thijstriemstra commented 2 years ago

Thanks for the report.

It would be good to document this or change the standard pin to one how not used by standard bus like I2S.

Can you add it to https://github.com/rm-hull/luma.lcd/blob/master/doc/hardware.rst? You can use github (click edit btn on that page) to update the documentation (and create a pull request).