lv_binding_micropython icon indicating copy to clipboard operation
lv_binding_micropython copied to clipboard

drivers/generic/st77xx: Support use on platforms without machine.PWM.

Open andrewleech opened this issue 1 year ago • 0 comments

The drivers/generic/st77xx.py driver initialises PWM to handle the backlight with dimming. On stm32 platform there is no machine.PWM module so this driver fails to load at all. This PR checks and skips the PWM if missing, meaning the backlight will fall back to basic on/off control.

andrewleech avatar Oct 17 '24 20:10 andrewleech