Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Encoder with STM32duino Framework #14

Open
ModuloFS opened this issue Oct 30, 2023 · 2 comments
Open

Using Encoder with STM32duino Framework #14

ModuloFS opened this issue Oct 30, 2023 · 2 comments

Comments

@ModuloFS
Copy link

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.

@AlexmagToast
Copy link
Owner

thanks, good to know.

@EhsanRasouli1371
Copy link

If we want to use the blue pill board and stm32ino instead of Arduino boards, we will face problems in defining the names of the pins.
Can you change the program codes so that we can also use the blue pill?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants