Yes, turn off the WDT ... and the BOR ... and the PORTAB Pull-Ups.
400uA is too high for sleep mode.
But the real problem is with ANSEL.
As trivial as it might seem, I think this will make a huge difference.
In the Main loop ...
Code:ANSEL= %11110011
Bookmarks