Quote Originally Posted by Joe S. View Post
Then go back and look at post 5, Skimask is as subtle as a nuke, he is telling you a lot there.
thank you joe for attention
anyway just to make something clear

normaly i use programmer software to set all (define) like HS , MCLR_OFF , LVP ...etc

and other thing (define) erorr may not let pic work stable or work at all

and my circuit hung after 10 min of good execution time (it looped fine for 10 min)

when i used WDT it work fine .

you know the problem of pic basic pro is most of functions work at background
so you will be far from (hardware imagination execution) to track erorrs like this one