Int Interrupt question


Results 1 to 13 of 13

Threaded View

  1. #8
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by lerameur View Post
    eee ook, you mean something like:
    /
    RBO = 1 ' call interrupt


    K
    Hi Ken,
    not exactly, when RB0 does = 1 it sets a flag bit and that bit stays set even if RB0 goes back to zero, your program does something of your choosing as a result and then it clears that flag bit before it resumes, assuming you write the code properly.
    WIll the return go back to the interrupt or back to where interrupt has left the main program ??
    It returns to the next line normally.
    Last edited by Archangel; - 26th November 2010 at 00:52.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

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