Log in

View Full Version : Config Settings for the 18 series



Ioannis
- 26th June 2009, 12:50
As this is a little difficult part in writing a program for the 18 series, here is a link for a Microchip pdf to help in the Config settings.

http://ww1.microchip.com/downloads/en/DeviceDoc/C18_Config_Settings_51537f.pdf

Ioannis

Normnet
- 27th June 2009, 08:25
Thanks for that.

Norm

Ioannis
- 29th June 2009, 08:15
You are welcome!

Ioannis

Darrel Taylor
- 29th June 2009, 09:11
Those would be really nice ....
If someone would explain how to use them in my PBP program.

So far, that style doesn't work for me (in the program).
<br>

Ioannis
- 29th June 2009, 10:05
Darrel, I think you mean the __CONFIG terms to complete with the rest the pdf refers, don't you?

I see the problem. We have at least the half part served. THe rest is in the .inc files...

Ioannis

Darrel Taylor
- 29th June 2009, 10:29
Well, it's just that it has to be in the .inc file, or an include from the .inc file.

It seems like there should be a way to do this in your PBP program ...

@ CONFIG OSC=HS, BOR=OFF, WDT=OFF
But it won't work inside a PBP program.

In this instance, "Deprecated" means ... the only way it works is the old way.
Either that, or I need enlightenment ... ?
<br>

Melanie
- 29th June 2009, 11:43
Depricated - I love that word. Added that to my daily vocabulary...

"Your pay-cheque has been depricated this month"...

"You may have thought you filled your car with ten gallons, but the actual amount has been depricated for your convenience and the good of the environment"...

rswain
- 30th June 2009, 21:03
Now this is a handy document to keep around. Think of the times my time has been depreciated trying to guess the right config syntax!