I'm using PCH 3.249 with the PIC 18F4620 and I would like to be able to use an instruction that would cause a reset just like hardware /MCLR reset. Is there such a thing?
Thanks in advance, I've learned a lot from this forum.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Jun 15, 2010 8:33 pm
Quote:
I would like to be able to use an instruction that would cause a reset just
like hardware /MCLR reset. Is there such a thing?
Here's how to answer this question:
Search for a Reset instruction in this section of the PIC data sheet:
I had to download a new acrobat reader, then quickly found the "reset_cpu()" instruction in the ccs manual. It works like a charm. Thanks PCM programmer!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum