Interrupt?? problem


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Disable tells PBP to STOP auto-insertion of interrupt checking code. Placing
    disable "before" the interrupt service label doesn't actually disable interrupts.
    It just tells PBP to stop automatically placing interrupt checking code between
    each BASIC command. Your interrupt will work either way.

    ON INTERRUPT GOTO ? tells PBP where the interrupt service routine is located.

    Resume inserts RETFIE right at the end of your interrupt handler "code", and
    that's where you want RETFIE to be.

    Enable tells PBP to start auto-inserting interrupt testing code after each
    BASIC instruction, and you want this at the very end or after RESUME. Just
    like the ON INTERRUPT example shown in the manual.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2
    scorpion's Avatar
    scorpion Guest


    Did you find this post helpful? Yes | No

    Talking

    gotcha.
    thanks for the help!
    -scorp

Similar Threads

  1. problem using GOSUB under interrupt
    By fobya71 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th March 2010, 20:52
  2. Problem with Interrupt on PIC18F4620 PORTB
    By rookie in forum Off Topic
    Replies: 1
    Last Post: - 22nd March 2007, 02:34
  3. Interrupt Problem
    By Kamikaze47 in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 16th November 2005, 21:58
  4. Interrupt stack overflow problem with Resume {label}
    By Yuantu Huang in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 3rd May 2005, 02:17
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 02:07

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