Elapsed Timer Demo


Closed Thread
Results 1 to 40 of 112

Hybrid View

  1. #1
    jessey's Avatar
    jessey Guest


    Did you find this post helpful? Yes | No

    Default Any idea why I get this error?

    Quote Originally Posted by Darrel Taylor
    Here's the version for 18F's.

    It should be a drop-in replacement for the old version. Everything works the same, except for the registers saved on entry to the INT routine.
    <br>

    Hello Darrel,

    I tried using your Elapsed-18 for use with my 18f452 and when I compile I get these errors:

    Error(113)c\pbp\10tim~2asm 503:Symbol not previously defined (TimerConst)
    Error(113)c\pbp\10tim~2asm 507:Symbol not previously defined (TimerConst)

    Would you have any ideas why I'm getting these errors or what I could try to get it to compile? I got my new version of PBP 2.47 installed now.

    Thanks
    jessey

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default

    Hi Jessey,

    What OSC are you using?

    The Elapsed-18.bas only has constants for 4,8,10,20 and 40 mhz.

    If it's something different, it needs a new constant.
    See Post #17
    <br>
    DT

  3. #3
    jessey's Avatar
    jessey Guest


    Did you find this post helpful? Yes | No

    Default It was the define for the crystal

    Quote Originally Posted by Darrel Taylor
    What OSC are you using?
    <br>
    Hi Darrel,

    I was running my pic at 16 mhz, I changed it to 4 and its working great now.

    Thanks A Lot
    jessey

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 23:14
  2. Get elapsed time while TIMER samples pulses
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th March 2009, 17:27
  3. Elapsed Timer Demo in a PIC12F675
    By Leonardo in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 21st November 2008, 01:01
  4. Totally Baffled with Elapsed Timer
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th June 2008, 22:01
  5. Darrel Taylor Elapsed Timer
    By rwskinner in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th March 2008, 02:22

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