Timer 0 not accurate


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Mar 2024
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: Timer 0 not accurate

    I'm sorry I meant that it was 52sec faster every hour not minute. @Richard No I have not defined oscillator but thought it defaulted to 4Mhz. Thanks to you both for your speedy reply. I will define osc and give it ago.

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,643


    Did you find this post helpful? Yes | No

    Default Re: Timer 0 not accurate

    I will define osc and give it ago.
    that won't help at all, you need to ensure that the config is correct and that osccon reg is set appropriately
    define OSC just tells compiler what freq you think you are running at, it does nothing to configure the chip in any way.
    and note the OSC bit is case sensitive
    Warning I'm not a teacher

Similar Threads

  1. A REALLY accurate clock.
    By Charles Linquis in forum Code Examples
    Replies: 24
    Last Post: - 16th January 2012, 17:41
  2. How accurate is the internal oscillator ?
    By lilimike in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th May 2010, 05:06
  3. Accurate serin usage?
    By sccoupe in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th July 2009, 08:36
  4. Using Pic as a digital clock/timer. How accurate?
    By rocky79 in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 15th February 2007, 03:02
  5. More accurate resolution from the A/d converters
    By pjsmith in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th August 2004, 22:49

Members who have read this thread : 3

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