writeMicroseconds()method instead. The servo library is written to compatible with the normal Arduino library, so you can use their docs for reference.
@geman220 Review the Arduino Servo Reference. you are setting the microseconds, not angle. These are the helpful values ...
#define MIN_PULSE_WIDTH 544 // the shortest pulse sent to a servo #define MAX_PULSE_WIDTH 2400 // the longest pulse sent to a servo #define DEFAULT_PULSE_WIDTH 1500 // default pulse width when servo is attached
When you "attach" the Servo, you can provide your own min and max like
Servo.attach(pin, 500, 2500); // use an extended range