I looked at that example and I don't see how I can alter a variable while in the interrupt routine. I've tried to write the variable to memory then read it back after exiting the interrupt but that proved to be a very slow approach. Surely I'm missing something simple here, what good is an interrupt if I can't use variables with it!?