Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5077

Python • Re: Problems using PWM in subprocess

$
0
0
Hi Siggerud,

Are you using a Pi5.

On the Pi5 , The software PWM is not stable because other process will interrupt it. But there is at least four Hardware pins that you could use instead.

I don't know if any new software upgrade implementation add the hardware GPIO right now.

Seven months ago I made python code to access them via the /sys/class .

https://github.com/danjperron/Pi5PWM_HARDWARE

In python don't forget to enable the dtoverlay=pwm .

Statistics: Posted by danjperron — Wed Aug 28, 2024 7:54 pm



Viewing all articles
Browse latest Browse all 5077

Trending Articles