Wrong Frequency


Closed Thread
Results 1 to 6 of 6

Thread: Wrong Frequency

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    The configs and the OSCCON register if using an internal OSC is for setting the hardware.
    The PIC will then run at that speed. Run at the speed of the external OSC or the internal setup.

    All
    DEFINE OSC X
    does is to tell PBP how fast the chip is running. DEFINE OSC X does not set the chips speed.

    Because the two are completely different things the order does not matter.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    The configs and the OSCCON register if using an internal OSC is for setting the hardware.
    The PIC will then run at that speed. Run at the speed of the external OSC or the internal setup.

    All
    DEFINE OSC X
    does is to tell PBP how fast the chip is running. DEFINE OSC X does not set the chips speed.

    Because the two are completely different things the order does not matter.
    Ooh, I see. Dave thank you for your help.

    Robert
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

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