Hi,
I did that a few times myself
That's what the "Edit" button is for, when you make a typo you can correct it just as you did your code.
Back to the Encoders...
I got my 2 bit encoders working so well now that i probably will never need anything better. But i did run into one or two problems...
What if you wanted to use two encoders or use an interrupt for something else?
On the Arduino the lower end boards only have two pins for interrupts, and ONE encoders uses BOTH pins. How would we use a second encoder, or use one of the pins for something else.
For example, i wanted to try to sample a timing signal with one of the interrupts but if both are being used by the encoder, i am not sure how to do this yet.
Any ideas?