'Instant Interrupts' gives errors on 16F819


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Posts
    96

    Default 'Instant Interrupts' gives errors on 16F819

    I'm getting a bunch of error when compiling some test code using some of Darrels classic interrupt code. The Timer Demo code runs nicely, compiles and runs on the bench fine.
    The more complex 'combined 1-2-3' example with the three interrupt sources doesn't. (I could paste in my code but it's basically Darrels but with the LCD ports changed to suit my PIC).

    These are the two types of error message I get....
    If anybody can tell me what the errors mean I'd appreciate it.

    Error[113] d:\martins\picres~1\pbp\pbppic14.lib 456 : Symbol not previously defined (_T1_Save)

    That one is repeated a few times (different lines of code I guess)

    Error[113] d:\martins\picres~1\pbp\pbppic14.lib 152 : Symbol not previously defined (TOIF)

    That one is only listed once...

    I'll fiddle around and try work it out for myself, but it's over my head a long way. I checked the PIC type, it does have the required timers etc.

    My task is to build a Human Reaction Timer, a school project for my daughters biology science class.

    Martin

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


    Did you find this post helpful? Yes | No

  3. #3
    Join Date
    Nov 2008
    Posts
    96


    Did you find this post helpful? Yes | No

    Default Yes, one down

    Hi Darrel, very nice to hear from The Creator....

    Yes, that tip got rid of the second type error message, but the (_T1_Save) remains (about six times).

    Martin

  4. #4
    Join Date
    Nov 2008
    Posts
    96


    Did you find this post helpful? Yes | No

    Default Solved one myself.

    Darrel, the tip was reading an old post of yours about another error (_T4_Save).
    It referred to the ReEnterPBP.bas file.

    Looking there I found all the 'T' system vars were commented out, with a note "Not used with PIC12F675"

    I probably did that myself a while ago to get around some other issue. Now it compiles OK with the vars back in.


    Cheers,
    Martin
    Last edited by mr.sneezy; - 18th February 2009 at 01:58.

  5. #5
    Join Date
    Nov 2008
    Posts
    96


    Did you find this post helpful? Yes | No

    Default New bug

    Never mind....
    Last edited by mr.sneezy; - 19th February 2009 at 00:33.

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 22:14
  2. Clock using Instant Interrupts
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th February 2009, 21:43
  3. DT instant interrupts with mister_e keypad
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th November 2008, 20:02
  4. DT's Instant Interrupts trouble
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2008, 20:48
  5. Instant Interrupts and STRINGS-16.PBP in the same program
    By ronjodu in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 6th January 2007, 09:05

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