max with a rotary encoder

i got it working, but did write my "own" little library based on some others.

Nice looking library. Has anyone used it yet and can confirm it works?

Now for extra credit, I'm already using timer2 elsewhere in my code, and there's no way I can get around using it. Anyone have suggestions for modifying this library?

The interval I'm using on timer2 changes over a wide range of possible values, so I can't really share the timer.