Closed tylerstillwater closed 11 years ago
Disregard this. Interrupts are fine. My wiring was wrong.
As a courtesy to anyone looking at this issue wondering "But my interrupts ARE wonky!" -- If you are on a raspberry pi make sure you are using rpi.OpenPin and not gpio.OpenPin ! This cost me like 45 min.
The "watch" example demonstrates using interrupts.
Right now, it behaves strangely. If you watch EdgeFalling, it reports "true" for the first few edge transitions. After that, it reports "false".
If you watch EdgeRising, it reports true at first, but then it starts triggering for both rising and falling, reporting false each time.
I'm not sure what to make of this. @davecheney any insight you could offer?