Hardware-level PWM with a Python interface

Dec 25, 2018 1 Replies

What do you use (or recommend) for hardware-level PWM on GPIO pins, via a Python interface?



formatting link
looks like the kind of thing; any others worth checking out?



Thanks,



Daniele


On Tue, 25 Dec 2018 01:29:02 +0000, snipped-for-privacy@apple-juice.co.uk (D.M. Procida) declaimed the following:

It is "hardware TIMED" but not true "hardware" PWM -- I believe they are using hardware timer interrupts to toggle the GPIO for pulse width. It is not a "fire&forget" PWM circuit that runs without OS intervention.

Since the pigpio daemon runs as a kernel process, it doesn't undergo as much latency as doing the GPIO toggling from a user process via the deprecated sysfs

formatting link
the only latency is in the API commanding the daemon to perform some action.

Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required