https://deepbluembedded.com/servo-motor-control-with-pic-microcontroller-16bit-pwm-pt3/
Servo Motor Control With PIC Microcontroller - 16Bit PWM PT3