How about if you disable the watchdog timer?
I know PBP add some CLRWDT instruction here and there but, i guess it worth a try. Unless you use a WDT interrupt, i guess you simply don't need it.
Just a suggestion
Code:
if PORTA.5=0 THEN
B1=0
ELSE
B1=1
ENDIF
you'll save codespace and increase your program speed if you use
Maybe the HS mode can do something... maybe for some crystal brand and not on some other.
Last edited by mister_e; - 29th May 2006 at 15:47.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks