Are you sure that your PIC is not damaged?
Sound strange that current consumption gets higher when IO's are changed to inputs. I have used this very successfully. During sleep mode, only current consumption that I can see, comes from low dropout 5V regulator.
I think this is only way to put PIC into sleep for undefined period.
orCode:<code><font color="#008000">@ sleep </font></code>
BR,Code:<code><font color="#000000"><b>ASM </b><font color="#008000">sleep </font><b>ENDASM </b></code>
-Gusse-




Bookmarks