Try adding comments to every line of code and you'll likely figure out what the problem is before we will. - Martin Jens M. Guessregen / Mailinglists wrote: > Hello, > > I have an issue with PWM on an PIC24HJ128GA210 (with 8 MHz) > > I use the following code to set up a PWM: > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist