Moving servo motors at the same time

Hi,

I’m using a servo phat on a raspberry pi 4. I have 5 motors that I would like to move 90 degrees simultaneously. Do you know how can I achieve that?

Sure, you’d just hook it up like so https://learn.sparkfun.com/tutorials/pi … e-assembly and then call the 5 motor channels used with the code here https://learn.sparkfun.com/tutorials/pi … e-overview

hey, thanks for the reply! I’m looking for code to move the servos simultaneously. So far, I have been successful to move each of them sequentially. I looked at the code in the pages you suggested but couldn’t find anything like what I am trying to do.

use either the all call address, multiprocessing, or a class :smiley: