Quantcast
Channel: Squeezebox : Community : Forums - Linux / Unix
Viewing all articles
Browse latest Browse all 1518

Can't get PWM hardware overlay to work in PiCorePlayer

$
0
0
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:

Code:

dtoverlay=pwm,pin=13,func=4
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.

Viewing all articles
Browse latest Browse all 1518

Trending Articles