servo library not working

It's just a tiny bit difficult to see what is wrong with your code when you haven't posted a copy of it. We are no clairvoyant.

...R