Firat, Yes it is possible to effect an MCLR function from within your code. Paste these lines into your code where you want to effect the reset function. I use this code on an 16F876 and it works great. I use it after waking from sleep mode.
Asm
bcf PCLATH, 3
bcf PCLATH, 4
goto 0
EndAsm
Try it and let me know....
Dave Purola,
N8NTA
Bookmarks