I have used a Display HAT Mini in a clock radio and need to dim the display. I have used code based upon pirate-audio/examples/backlight-pwm.py at master · pimoroni/pirate-audio · GitHub to control the brightness. This works but it constantly flickers. Is there any way to fix this?
Thanks
Mick