From README:Colour me confused, but I've been testing soft PWM and managed to get results out of that, but I'm also struggling with hardware PWM on the Pi 5...
With the following in config.txt:Code:
dtoverlay=pwm,pin=12,func=0dtoverlay=pwm,pin=13,func=0dtoverlay=pwm,pin=18,func=3dtoverlay=pwm,pin=19,func=3
If you look at the overlay, it is always targeting the &pwm node, and modifying element 0 (ie the first channel). Your multiple lines therefore replace each other, and the last one will be the final result.Configures a single PWM channel
There appears to be no option for altering any channel other than 0.
Statistics: Posted by 6by9 — Wed Mar 06, 2024 1:26 pm