TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: JAN PANTELTJE
date: 2018-12-22 21:21:00
subject: Re: Servo basics

I wrote

>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


hehe, and there is ready to go C code for RC servos by Frank Buss:
 http://www.frank-buss.de/raspberrypi/pwm.c

gcc -o pwm pwm.c
./pwm
sends test sequences to GPIO18

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