here is a counter that uses no ISR
https://www.hackster.io/vandenbrande/arduino-rotary-encoder-simple-example-ky-040-b78752
here is a counter that uses no ISR
https://www.hackster.io/vandenbrande/arduino-rotary-encoder-simple-example-ky-040-b78752