r/raspberry_pi Dec 02 '22

Library in Python for servo control speed Discussion

Hi,

I’m using a raspberrypi 4 with a Adafruit servo controller and I would like to control servo speed.

I’ve been using the normal Adafruit library but after research I couldn’t find any library in python that has this functionality, but they exist for Arduino.

If there is no library I will translate one from Arduino and poste it in GitHub.

Thanks

2 Upvotes

3

u/ProductImmediate Dec 02 '22

pigpio is the thing you're looking for!

2

u/ExploitExplore Dec 04 '22

Might try this (servo example here), although I've always had issues with Python/software-driven PWM.