Scampy,
Nice catch and something Worth a try but the manual does say that if not told otherwise PBP assumes 4-bit mode.
davewanna,
You say in your post that you're using the internal oscillator but as far as I can see the 16F716 doesn't have one. And you've got the config set to RC_OSC indicating external RC combination on the OSC1 pin. If that IS what you're using what values do you have for R and C and have you verified at what frequency the PIC is actually running?
If you don't DEFINE OSC xx PBP assumes 4MHz. If the actual speed is different, then all timings will be off.
/Henrik.
EDIT: OPTION_REG.5 Controls from where TMR0 gets its clock. OPTION_REG.5 = 0 will clear that bit but it's got nothing to do with the problem at hand.
Bookmarks