That interesting but I repeat, int on A, on interupt read B, if it is c/w if 1 it is ac/w it is 0 (or the other way round). Caps on A and B to gnd, 10k pullup on A and B to Vcc. Bobs your uncle.
Any contact bounce on A will be disrequarded because your interupt routine won't have reenabled ints yet and B will be read dead in the middle of its cycle.
George
Bookmarks