Two suggestions.
- Take a 100K resitor from +5V to your ammeter, and the other lead to ground.
If your meter is working correctly, you should get a reading of 50uA.
<br>- Remove the inputs from any of the pins that you can.
Compile and load this program ...
Code:ASM ; 16F690 ifdef PM_USED ; For PM assembler device INTRC_OSC_NOCLKOUT ; Oscillator Selection device FCMEN_OFF ; Fail-Safe Clock Monitor device IESO_OFF ; Internal External Switchover device BOD_OFF ; Brown-out Detect device CPD_OFF ; Data Code Protection device PROTECT_OFF ; Code Protection device MCLR_OFF ; Master Clear Reset device PWRT_OFF ; Power-up Timer device WDT_OFF ; Watchdog Timer else ; For MPASM assembler cfg= _INTRC_OSC_NOCLKOUT ; Oscillator Selection cfg=cfg& _FCMEN_OFF ; Fail-Safe Clock Monitor cfg=cfg& _IESO_OFF ; Internal External Switchover cfg=cfg& _BOR_OFF ; Brown-out Reset cfg=cfg& _CPD_OFF ; Data Code Protection cfg=cfg& _CP_OFF ; Code Protection cfg=cfg& _MCLRE_OFF ; Master Clear Reset cfg=cfg& _PWRTE_OFF ; Power-up Timer cfg=cfg& _WDT_OFF ; Watchdog Timer __CONFIG cfg endif ENDASM END ; Enter Comma (sleep forever with no hope of waking)





Bookmarks