Hello! I have been playing with interrupts for a few weeks now with great success (thanks to all you and the information on this forum), but I have now hit a wall. I am using a simple N.O. switch to activate an interrupt. It works wonderfully if I feed GND to the RB0 pin through a 10K resistor and hook the other end of the switch to 5V through a 100 ohm resitor. Graphically,
o RB0
|
| 10K
/\/\/\/\----------------GND
|
\ N.O.
| 100
|------------/\/\/\/\-------5V
Due to design constraints, I need to pull it low to activate.
Graphically,
o RB0
|
| 1K-10K
/\/\/\/\---------5V
|
\ N.O.
|
|---------------GND
Unfortunately, this does nothing. Works great for regular button commands, just not for an interrupt. I've also tried activating the interrupt on both the rising and falling edges to no avail.
I get the impression the interrupt likes seeing a high signal normally. I don't know how to tell it to like a normally low signal though. I've also gone through the datasheet often, though not with a fine-tooth comb.
Anyone have any ideas? Any help is appreciated. Thanks!
Bookmarks