bhagman / SoftPWM

A Wiring (and Arduino) Library to produce PWM signals on arbitrary pins.
MIT License
86 stars 31 forks source link

How to control a servo ? #17

Closed Lovmong closed 1 year ago

Lovmong commented 1 year ago

Counld someone provide an example of using softpwm to control a servo? I don't know how to do it correctly. Many thanks.

Lovmong commented 1 year ago

This is the result of our test: https://github.com/sunfounder/galaxy-rvr/blob/main/galaxy-rvr/soft_servo.cpp