TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: THE NATURAL PHILOSOPHER
from: JAN PANTELTJE
date: 2018-12-22 16:25:00
subject: Re: Servo basics

The Natural Philosopher wrote

>It seems that it has:
>
>https://circuitdigest.com/microcontroller-projects/raspberry-pi-pwm-tutorial
>
>And no code is required to maintain the thing in steady operation
>
>AIUI that means driving two RC servos is trivial beyond belief
>
>Se up the frequenciy to be say 30 Hz,set up the pulse widths and robert
>is a relative,
>
>The onlyt delay would be in MOVING the servos

Thats is nice, Pyhon I do not speak,
some searching found this site in C++:
 http://www.hertaville.com/rpipwm.html

Enabling and contriolling the Pi PWM output boils down to just a few lines,
in the link from that page:
 http://www.hertaville.com/files/OTHERFILES/rpiPWM1.tar.gz

C++ close to C, easily translated,

Maybe I will have a go later

--- 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™.