calling subroutine triggers interrupt


Results 1 to 8 of 8

Threaded View

  1. #1
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    68

    Unhappy calling subroutine triggers interrupt

    Hello All,

    Please advise if this is a known issue: I programmed PIC16F688 for interrupt on A2/INT on dropping edge which works fine, but I got a problem - every time I call any subroutine, it triggers the interrupt, even if the subroutine is empty like this:

    SBRTN:
    RETURN

    every call to any subroutine (gosub ...) results execution of my interrupt handler subroutine.

    Is this something known and caused by a common mistake?

    Thank you,
    Alexey
    Last edited by Alexey; - 19th May 2011 at 03:14.

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