It may be worth mentioning that I need bind and function – apparently – if I am to use attachInterrupt(…) in a class member function to attach another class member function as the interrupt handler. If you know of an example/project that’s doing this for deployment on Uno Wifi Rev2, please share. Embarrassingly… I’ve tried to figure out how to do this on and off over the last couple of months. I’ve had to give up on jousting this windmill a few times. Right now – tacky, tacky – I leave it to the user of the class to attach an interrupt handler that delegates to the. handleInterrupt() class function.
I was excited to see what seems to be great advice in How to assign a class method as an interrupt handler? - #2 by maxgerhardt but, alas, that apparently apply to the arduino esp support library. (Is it a tool-chain thing, or a framework thing, or a compiler thing, or… well, you get it. It’s mostly still gobbly-gook to me. I am learning, though not as fast as I would like to.
I’m about to check it in the garbage and use an ESP32-S3 dev kit. (I can get it to work there.) I had assumed the Arduino board would be ‘easier’ since it seems (or deemed) to be more mainstream. I’m beginning to think it’s more like a small estuary.