Servo with External Power Source

If it is a PP3 smoke alarm battery it won't last long because it has very low capacity

In your code you attach 2 Servo objects with the same name to different pins. I suspect that you copy/pasted myservo.attach(12); and forgot to change the servo name for the one on pin 13

1 Like