Timeline for Rotary encoder on Uno and interrupts issue
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 30, 2014 at 18:19 | comment | added | pat333 | :( I don't understand. The interrupt is working on pin 2. I'm reading from pin 3 after the interrupt, not setting an interrupt on it directly. In the original code, the author is using pins 19 (A) and 25 (B) on an arduino mega. Pin 25 on the Mega is not an interrupt pin either | |
| Oct 30, 2014 at 17:33 | comment | added | Ignacio Vazquez-Abrams | The code needs the interrupt in order to work. No interrupt, no work. | |
| Oct 30, 2014 at 17:31 | comment | added | pat333 | Hi Igancio. Could you clarify - what is it exactly that causes the detection failure on pins other than pin 3? I was assuming that it being an interrupt pin didn't make any difference since we're not actually setting an interrupt on this pin? | |
| Oct 30, 2014 at 17:13 | history | answered | Ignacio Vazquez-Abrams | CC BY-SA 3.0 |