Can't remember!! I'll lob it back into the simulator and try and comment the code.... If remember you were involved when John was doing his helicopter programming we were getting 16 bit even 20 bit resolution.. The servo is 1.0mS to 2.0mS .... The pot gives 0 ~1024 bit counts so we doubled it to a theoretical 11 bits (albeit still 10 bits ) If we used a 16 bit and up'd the pwm frequency we get a really smooth servo output...What CCP mode are you using are you using in that example, Ian? (comments?)