A shot in the dark, but what if you add
_LVP_OFF
to config_2
A shot in the dark, but what if you add
_LVP_OFF
to config_2
Dave
Always wear safety glasses while programming.
"A long shot....but it might just work" (as they say in the movies), and whaddayaknow.....
BINGO!
with _LVP_OFF ....no resetee, ....*but* without that _CONFIG2 entry, my 16f1824 resets every time RA3 goes low.
So Mr Mackrackit ...choose any cuddly toy from the top shelf!
How bizarre - many thanks, it would have taken me a few weeks to get that one! (& it's just come flooding back why I took a break from these puppies in the first place - ie. somtimes they're *way* obtuse!)
Thanks for *everyone's* input!
Last edited by HankMcSpank; - 6th May 2012 at 18:12.
One thing I may suggest... never under do the config fuse lines.... I mean, grab the whole list available in the .INC file and assign each of them, OFF or ON.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
It's explained on the 16f1824 data sheet. See pages 52 and 54. LVP must be 0 for MCLR to turn off. LVP is set to 1 on any reset.
Bookmarks