This Projekt enables you to connect an Arduino to LinuxCNC and provides as many IO's as you could ever wish for. This Software is used as IO Expansion for LinuxCNC.
if anybody wants to use the encoder functionality together with the STM32duino Framework you have to replace the Encoder library by this modified version:
You have to check by yourself if your used pins collide in the interrupt handler. For example in my case i am not able to use PA9, PA8 and PC9, PB8 at the same time as interrupt pins. So if you want to use two encoders You have to connect the first at PA9 and PA8 and the second for example at PB3 and PA10.
With the library mentioned above up to 6 encoders are possible.
Hello,
if anybody wants to use the encoder functionality together with the STM32duino Framework you have to replace the Encoder library by this modified version:
https://github.com/ModuloFS/Encoder_STM32duino
You have to check by yourself if your used pins collide in the interrupt handler. For example in my case i am not able to use PA9, PA8 and PC9, PB8 at the same time as interrupt pins. So if you want to use two encoders You have to connect the first at PA9 and PA8 and the second for example at PB3 and PA10.
With the library mentioned above up to 6 encoders are possible.