I am using an M5Stack to develop a WiFi throttle for model trains. All works fine and I can connect and drive a locomotive whilst being connected to a Märklin CS3.
However I am struggling to use a rotary encoder to control the speed. My current code is not using interrupts and struggling with bouncing. I am trying to use interrupts, but to me it looks like those are not recognized.
I suspect I am not using the right ports. Any hint would be welcome.
Many thanks in advance