that won't help at all, you need to ensure that the config is correct and that osccon reg is set appropriatelyI will define osc and give it ago.
define OSC just tells compiler what freq you think you are running at, it does nothing to configure the chip in any way.
and note the OSC bit is case sensitive
Bookmarks