Instant Interrupts - Revisited


Closed Thread
Results 1 to 40 of 773

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Posts
    57


    Did you find this post helpful? Yes | No

    Default

    Darrel,
    I recently replaced the On Interrupt code in an existing program with the RX_INT and it works great.The code was reduced by 127 words and I was able to eliminate a interrupt anomaly I sometimes experienced.Though compilation was successful,I would get a warning "Temp variables exceeding T4",which was generated in the ReEnterPBP.bas.I found what caused it in my code was this long comparison evaluation "if (fwd_cycle_comp = 1 and portb.4 = 1 and portb.2 = 1 and porta.0 = 1) or (datain1 > 1638) then".If I shortened the code the warning disappeared.Since everything was working fine I commented out the error routine for T4.I am using the latest Mplab and PBP.
    Thanks & Good Job

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by arniepj View Post
    Since everything was working fine I commented out the error routine for T4.
    As long as the long formula isn't in the Interrupt Handler, you should be OK.

    There's no way for the program to tell if a complex formula is in the handler or somewhere else. So I err'd on the side of caution and had it give a warning no matter where it is.

    Glad you like it.
    DT

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    So I err'd on the side of caution and had it give a warning no matter where it is.
    Maybe on POST 116 which is few time after the Green splat thingy
    http://www.picbasic.co.uk/forum/show...&postcount=116
    Last edited by mister_e; - 6th March 2007 at 22:15.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Mar 2006
    Posts
    41


    Did you find this post helpful? Yes | No

    Smile DT_INTS with MPLAB 7.50

    Good day to all!!!
    I'm Ryan from the philippines i've been wanting to use my homebuilt icd2 but i'm having a hard time compiling my sourcecode with Darrel's instant interrupt in MPLAB has anyone tried and successfully compiled it in MPLAB?
    To anyoneThanks in advance!!!

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    is this happen to ANY PBP program or just when using DT-INT.

    I don't know why it shouldn't. can you at least post some code OR the errors message + PIC#
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Mar 2006
    Posts
    41


    Did you find this post helpful? Yes | No

    Default here it is

    Yes indeed just when using dt_ints it fails to compile here are the following error message

    "Executing: "C:\PBP\PBPW.EXE" -p16F877A -ampasm -oq -z "SMS_CONTROL1_MPLAB.bas"
    Error[113] C:\PBP\PBPPIC14.LIB 2784 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2785 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2789 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2790 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2800 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2871 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2889 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2913 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2920 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2928 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2934 "
    Attached Files Attached Files

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by leisryan View Post
    Yes indeed just when using dt_ints it fails to compile here are the following error message

    "Executing: "C:\PBP\PBPW.EXE" -p16F877A -ampasm -oq -z "SMS_CONTROL1_MPLAB.bas"
    Error[113] C:\PBP\PBPPIC14.LIB 2784 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2785 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2789 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2790 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2800 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2871 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2889 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2913 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2920 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2928 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2934 "
    Which version of PBP?

Similar Threads

  1. Clock using Instant Interrupts
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th February 2009, 21:43
  2. DT instant interrupts with mister_e keypad
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th November 2008, 20:02
  3. DT's Instant Interrupts trouble
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2008, 20:48
  4. Keypad and DT's Instant Interrupts
    By Homerclese in forum General
    Replies: 11
    Last Post: - 27th April 2007, 06:32
  5. Replies: 1
    Last Post: - 1st November 2006, 03:11

Members who have read this thread : 5

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts