TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2018-12-24 22:40:00
subject: Re: Hardware-level PWM wi

50662a85
PID: SoupGate-Win32 v1.05
On Tue, 25 Dec 2018 01:29:02 +0000,
real-not-anti-spam-address@apple-juice.co.uk (D.M. Procida) declaimed the
following:

>What do you use (or recommend) for hardware-level PWM on GPIO pins, via
>a Python interface?
>
>http://abyz.me.uk/rpi/pigpio/python.html looks like the kind of thing;
>any others worth checking out?
>

 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
(https://www.kernel.org/doc/Documentation/ABI/obsolete/sysfs-gpio); 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/

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.