make sure you also disable the LVP mode. This pin have to be loaded to GND when progaming.
And then... when you reload a 16Bit timer you want to add the reload value instead of just dumping the values in. Finally you want to stop it, then add the reload value, the restart the timer.
Depending how accurate you want it, not a bad idea to switch to Darrel's instant INTs (PBP or ASM... where asm is always handy .. )
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks