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)
|