so you need two buttons to generate an interrupt?
I've just been through all this pain & rx'ed a lot of help on my recent thread...
http://www.picbasic.co.uk/forum/showthread.php?t=13558
To summarise....you can have two switches connected to just the one PIC 'INT' pin - but you'll need to connect some diodes if going that way (I posted a schematic on the above thread).
Else, as Bruce kindly informed me on that very thread, you can use Interrupt on Change...which was a little more involved (but not a whole lot more)...& which doesn't need diodes & gives you a whole lot more options wrt which PIC pins you can connect your switches to.
Bookmarks