Figured it out: this program works, and it runs two motors at the same time! The key, make sure a delay is after every instance. This program uses the standard Servo.h library.
// successfully runs 2 servos non-continuously
#include <Servo.h>
Servo mtrA;
Servo mtrB;
void setup(){
mtrA.attach(9);
mtrB.attach(10);
}
void loop(){
fwd();
delay(2000);
STOP();
delay(1000);
turn();
delay(2000);
STOP();
delay(1000);
}
void fwd(){
mtrA.write(0);
mtrB.write(180);
}
void turn(){
mtrA.write(180);
mtrB.write(180);
}
void STOP(){
mtrA.write(90);
mtrB.write(90);
}