Quote Originally Posted by ngeronikolos View Post
I find it.....
Now it sleeps with the minimum current...just 0.1 ma or 100uA.

The pin MCLR was flatting and I add the 4.7k to Vcc.

Many Many thanks joe for your code.


Regards
Nikos
You are welcome. I had turned MCLRE off in my config.