Just remove _VCAPEN_OFF from your config line.
It's definitely in my P16F1827.INC file, but if Microchip has updated include files, it may
not be in the one you have. It should work either way.
Just remove _VCAPEN_OFF from your config line.
It's definitely in my P16F1827.INC file, but if Microchip has updated include files, it may
not be in the one you have. It should work either way.
Bruce,
Thanks for the help. It compiled without errors. Now off to testing! I will post back my results later.
Nick
I'll bet this thread has already saved me much frustration and gnashing of teeth.
I assume that, when the device is erased, the CONFIGx registers are all 1s; and that all I have to specify are the parameters that would require a 0 to get what I want. Anything wrong with that assumption?
Russ
N0EVC, xWB6ONT, xWN6ONT
"Easy to use" is easy to say.
Hello Macgman2000
Were you ever able to get anything working? If so how?
I've followed the suggestions in this thread, although all my files were already updated in my v2.60a. I still get the errors. I have the latest and greatest Mplab and Bruces' code simply will not compile.
Hi Ioannis,
In an early data sheet (and silicon I assume?) this was a config2, bit 4 option like in the 16F193x series for the voltage regulator capacitor enable/disable.
It magically vanished when the newer data sheet & .inc files were released, so I would just ignore it.
If you look in the CONFIG 2 section you'll see where they changed bit #4 to Reserved. Not sure what happened?
Hmm, maybe ghosts in the bits...
Who knows?
Thanks anyway.
Ioannis
Bookmarks