HankMcSpank, Why yes you can by using a couple of diodes and a pullup or pulldown reststor, depending on the switching state of the switches. If the switches are connecting VDD when made, place the anode of each diode to the appropriate switch and the cathodes of both diodes to the interrupt pin along with a pulldown resistor, When ether of the switches is pressed the interrupt pin will be set high and inside of the interrupt routine you can read which switch is connected to VDD.....
Dave Purola,
N8NTA
Bookmarks