The problem with that code is, as the battery fails (as it will, rapidly), the amount of time the servo takes to turn 90 degrees will change.
This may or may not be important to you.
The problem with that code is, as the battery fails (as it will, rapidly), the amount of time the servo takes to turn 90 degrees will change.
This may or may not be important to you.