Need programmer for hire

Will these servos physically move as fast as you want? I mean, take this:

loop() {
  servo.write(45);
  delay(2000);
  servo.write(135);
  delay(2000);
}

If you do that, do the servos swing through 90 degrees at the speed you need? If not, then it isn't code that's the problem: those particular servos just plain won't do what you want.

If they will, and the problem actually is the sequencing of servo writes in the code, then what you want is do-able. But I suspect it will take a fairly severe restructure to do, because if the code is written properly with millis for timing then you could make those writes happen whenever you like. If you can't do that, then the code must have delays and blocking loops, many of which will need to be unrolled into state machines.

Without revealing your own proprietary code, I'd be interested in links to those snippets you mentioned. I'm having trouble with servos myself :slight_smile: .