16f54 stops running with RC OSC


Results 1 to 8 of 8

Threaded View

  1. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: 16f54 stops running with RC OSC

    If that is a copy paste then it is likely the problem.
    should be @spaceTwoUnderscoresConfig like so . . .
    Code:
    @ __config_RC_OSC
    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 . . .
    Code:
    define OSC 4
    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.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts