Int Interrupt question


Results 1 to 13 of 13

Threaded View

  1. #3
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    Ok ok I found lots of stuff, RB0 seems to be the pin of choice for most Pic's. Just that in most example they are showing ONE mainloop, and say after the interrupt sequence is finish, the program return to the mainloop. Does it go to the mainloop, or does it go back where it left like a sub routine.. ???

    K
    PS I was making a while loop to go to a special menu. The while loop was looking for a external pin being activated. implementing that while loop everywhere made it nasty. I think as far as I can read, this is the best choice, external interrupt ! as soon the user pushes the button it goes to a menu. My only concern is, can I do anything in an interrupt ?, meaning I2C reading, looping, pausing, observing other pin values. Meaning can I use interrupt routine like I would a subroutine ???
    Last edited by lerameur; - 25th November 2010 at 19:15.

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