RoboticsGeneral

IO Expansion HAT x1 for Raspberry PI, PWM not working

userHead anonymous 2020-03-28 01:01:29 2906 Views1 Replies
I have a Raspberry Pi 3B+.

I enable pwm in /boot/config.txt
Code: Select all
dtoverlay=pwm-2chan

When I use PWM in the code I can see the changes in the /sys/class/pwm/pwmchip0 folder (period, duty_cycle, enable), but the PWM output does not change.

Do I need to install/configure extra stuff for the PWM on the hat to work?