hello,
i am using portenta h7 and tringto run the encoder.h example.
i get an error code #error "Interrupts are unknown for this board, please add to this code"
my code is
The PJRC Encoder library does not support STM32 processors. It can be expanded to do so by adding the required information to interrupt_config.h and direct_pin_read.h.
I have added STM32 support to my NewEncoder Library but never tested it personally. However, one STM32 user supplied a fix for that processor on GitHub. So, as far as I know it works. Run the simple "SingleEncoder.ino" example and report back here.