Steve,
Thanks for the help with the code (b1=portx.x), that will certainly save some space. I tried removing the WDT but I still had the same results. Now I need it because the NAP command is dependent upon the WDT....if I read the manual correctly. I'll try messing around with the clearwdt and wdt commands to see what happens.
Thanks
Bookmarks