Here's what had worked for me. Richard is right, you cant use HPWM for frequencies above 32.768khz.
Set the registers as follows.
TRISC.2 = 0 ' CCP1 (PortC.2 = Output)
PR2 = 25 ...
quote from the pbp3 manual
did you actually check the resulting freq, it can be done manually of course
would a pull down resistor (say 1k) make the trace look better
Have you tried turning it off and on again?
HPWM 1, 127, 38000
HPWM 1, 0, 38000
a 14x8 font would be nicely accommodated in a pic16's flash pgm memory (its 14 bits wide) if you have the spacerichard Today, 02:16