Hi bill_23,

Unless you are using a 4o MHz oscillator you might want to revise your PULSOUT statements. For 4 MHz your PULSOUT resolution will be 10 µs.

Also depending on your servos (90º, 120° or 180°) and the desired range of movement you might want to change the 1000-2000 µs window to a narrower one. Keep in mind your 1500 µs pulse will be your center.

Regards,

Nick