i am following the playground article
on the rotary encoder interrupt usage.
i am having trouble understanding the basics of interrupt usage...
this is taken from the comment for the code
/* read a rotary encoder with interrupts
Encoder hooked up with common to GROUND,
encoder0PinA to pin 2, encoder0PinB to pin 4 (or pin 3 see below) it doesn't matter which encoder pin you use for A or B
uses Arduino pullups on A & B channel outputs
turning on the pullups saves having to hook up resistors
to the A & B channel outputs
*/ (my underlines)
from the reference it clearly states that interrupts ONLY work on pin 2 and 3, but in Paul comment he mentioned that i can use any of the digi inputs. so, those this mean i have only to interrupt "boosted" inputs (2&3)? or are they some kind of control pins, which i can use with any other pin?
thanks to all that contributed to that article!
Max and Paul Badger