HPWM channel = CCP1 of your 18F4520 = PIN RC2 PIN 17