Why? Several excellent libraries are already out there.
Why do you think you need to use an interrupt to read out a rotary? I always just poll them; works fine.
The ISR will evidently not be part of the class. So simple answer: you don't.
Why? Several excellent libraries are already out there.
Why do you think you need to use an interrupt to read out a rotary? I always just poll them; works fine.
The ISR will evidently not be part of the class. So simple answer: you don't.