Quote Originally Posted by ardhuru View Post
Hi,

Here's what had worked for me. Richard is right, you cant use HPWM for frequencies above 32.768khz.
From what I understand of what was quoted, 32768Hz was maximum WITHOUT using longs. I'm using an 18F2550, and when I compile, I get the following message:

'[MESSAGE]pic18f2550.pbpinc(285): LONG Variables enabled (PBPL used)'

It seems like it used longs because of the frequency I specified, and it seemed happy. Anyway, the problem is solved, see my last post.

Thanks for the help!