finding servotimer1.h

Currently writing some code for Arduino pro mini using 2 servos.

I have IDE version 1.0.5 and currently use the servo.h library.

I saw where one can use the servoTimer1.h library for much higher resolution but I am having problems finding a download anywhere.

Assuming the higher resolution would give more precise servo movement.

Is it in the new IDE or was it found not to work successfully.

You can use the writeMicroseconds() command in the Servo library to get finer resolution (about 1600 - 1800 steps from 0 - 180 deg. Like this:

myServo.writeMicroseconds(600);
delay(1000);
myServo.writeMicroseconds(2100):
delay(1000);
myServo.writeMicroseconds(1500);
delay(1000);
myServo.writeMicroseconds(1503);

You probably can’t get any better resolution.
Try this sketch to show how writeMicroseconds() is related to write(), enter an angle in the serial monitor, it will print the angle and corresponding microseconds, if you enter a number greater than 500 it will be interpreted as microseconds instead of angle. Connect your servo’s signal wire to pin 9.

#include <Servo.h>
Servo servo;


int angle = 0;

void setup() {
  // initialize serial:
  Serial.begin(9600);
  servo.write(1500);
  servo.attach(9);
  for(int i = 0;i < 175;i++){
    servo.write(i);
    delay(3);
  }

  Serial.println(servo.readMicroseconds());
  for(int i = 175;i >= 0;i--){
    servo.write(i);
    delay(3);
  }
  Serial.println(servo.readMicroseconds());  
}

void loop() {
  // if there's any serial available, read it:
  while (Serial.available() > 0) {

    // look for the next valid integer in the incoming serial stream:
    int angle = Serial.parseInt(); 
    // look for the newline. That's the end of your
    // sentence:
    if (Serial.read() == '\n') {
    }
    servo.write(angle);
    Serial.print(angle);Serial.print("\t");
    Serial.println(servo.readMicroseconds());

  }
}

Oh, I did find a link, here:
http://playground.arduino.cc/ComponentLib/Servotimer1

I must have looked at that link page 2 or 3 times and missed the zip file.
I think I saw the reference to the servo library documentation at the top of the page and kept going there.

Thanks for the help.

I found the zip file! Its in this section: "The Code
You can find the code in servotimer1.zip. Unpack that into your hardware/libraries folder to add the library."

if you click on servotimer1.zip it will download it then you go to arduino IDE and go to "sketch" then "include

library" then you click on "add .zip library" and find the file, click "open", then you're done