Hello Everybody,
First of all, thank you for all the great responses. I now have PWM working great on all 5 channels by addressing the registers directly, as suggested by Charles. As an added bonus, the PWM resolution is 10bit.
As Darrel said, it is probably a bit "advanced" for me to start modifying system/library files at this stage.
The 18F6520 also has 12 analog inputs. Are there any "gotchas" or limits on the number of channels when using the ADCIN command?
Andy




Bookmarks