|
Re: addSequential NOT Working for Servos
A delay should fix your problem. While you are using what seems like a logical isFinished condition the reality is that it won't work. A servo provides no feedback to the rest of the system. A servo takes time to move from point A to point B. calling setPos(45) and then calling getPos() will yield 45. getPos() only tells you where the servo was last set. It doesn't take into account where the servo actually is.
Kyle
__________________
"May the coms be with you"
Is this a "programming error" or a "programmer error"?
|