External resonator help


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    simple test program

    TEST:
    HIGH PORTB.1
    PAUSE 1000
    LOW PORTB.1
    PAUSE 1000
    GOTO TEST

    The light should turn on and off in 1 sec intervals.

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


    Did you find this post helpful? Yes | No

    Default

    Please post your complete code with the configs so we can see what you got.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    May 2010
    Posts
    9


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rlmack35 View Post
    simple test program

    TEST:
    HIGH PORTB.1
    PAUSE 1000
    LOW PORTB.1
    PAUSE 1000
    GOTO TEST

    The light should turn on and off in 1 sec intervals.
    That works but personally I like to increase the time if you are doing a visual on/off led measurement, if you measure on/off cycles over a period of say one or two minutes you can average a more precise result. That is just me though.

  4. #4
    Join Date
    Dec 2008
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    ok but that is not what i'm looking for. mine wasn't off by milliseconds it was off by seconds like 3 or 4 seconds on and 3 or 4 seconds off. but once i installed a 4MHz resonator in it worked just fine.

    Now back on track, can someone help/explain the config of chips to me? I dont mean what they do that much i understand. I mean how to get them into my program or setting them someplace else.

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


    Did you find this post helpful? Yes | No

    Default

    Now back on track, can someone help/explain the config of chips to me? I dont mean what they do that much i understand. I mean how to get them into my program or setting them someplace else.
    See the link in post #2 of this thread.
    Dave
    Always wear safety glasses while programming.

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