Interupts - can two switches share the 'INT' Pin?


Closed Thread
Results 1 to 7 of 7

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Here's one example with 13 switches using just 2 interrupt input pins.
    Attached Images Attached Images
    Regards,

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

  2. #2
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    Thanks guys - I have my two switches working sweet onto the one INT pin now (once I figured out that OPTION_REG.6 = 1 wasn't set that is !)

    http://www.darreltaylor.com/DT_INTS-14/hello.html

    On that above URL, I see Darrel is using a cap to debounce the switches - going that route is there any win over & above using a short pause in the interupt handling routine (200ms seems to be debouncing fine & it save me a couple of caps - I'm not a tightwad, but space is going to be limited on my pcb!)

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