Re: 16f54 stops running with RC OSC
If that is a copy paste then it is likely the problem.
should be @spaceTwoUnderscoresConfig like so . . .
And it is only going to work if you have commented out the default config in the p16F54.inc file in the PBP root directory, or you can change the default to this and leave it out of your source code And this config is for MPASM assembler not PB.
Then set your OSC speed with the define, This get's the pic peripherals all on the same page as to timing, how long is a pause or pauseus . . .
BTW the things you define are supposed to be (MUST) be in uppercase letters so OSC is good, osc is not.
Last edited by Archangel; - 24th March 2011 at 01:57.
Reason: add from OR
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks