Keith created a new topic ' Hardware PWM on Rpi-5?' in the forum. 4 weeks ago

Has anyone gotten hardware PWM working on an Rpi-5 using libgpiod? I am using pins 12 & 13 for PWM to run a pair of MOSFETS for dew heater control.
.
I’ve dug thru the libgpiod library and cannot find any mention of PWM anywhere.
.
The gpioset command line works, but only for 1 or 0, no PWM (that I can find).
.
I know the RPIGPIO INDI driver for the Rpi-5 is not ready so I’d like to make a stand alone program to run my dew heaters until that driver is ready.
.
One kludge solution I’ve thought of is a bash file that just turns the pin on and off every second or fractions using the gpioset command line tool.

Read More...