Hi, I'm planning to use a GPIO pin to control the brightness of my backlight for a LCD screen.
I've managed to get it working using GPIO commands and can manually set the brightness, but I would like to get hardware overlay working if possible, so the device appears in /sys/class/pwm
I'm currently using PWM on GPIO 13, Physical pin 33, so I've added this line to my config.txt in the custom section:
However after rebooting, nothing appears in /sys/class/pwm
What do I need to do in order to get this working? My goal is to have brightness control in JiveLite.
I've managed to get it working using GPIO commands and can manually set the brightness, but I would like to get hardware overlay working if possible, so the device appears in /sys/class/pwm
I'm currently using PWM on GPIO 13, Physical pin 33, so I've added this line to my config.txt in the custom section:
Code:
dtoverlay=pwm,pin=13,func=4
What do I need to do in order to get this working? My goal is to have brightness control in JiveLite.