STM32Encoder icon indicating copy to clipboard operation
STM32Encoder copied to clipboard

stm32f4 black v2

Open cnc4less opened this issue 8 years ago • 2 comments

your lib works great on stm32f1 with stm32duino maple official branch, i tried to use it with stm32f407 but could not make work , any configuration required ?

cnc4less avatar Jul 02 '17 21:07 cnc4less

Hello,

I developed it for F1 as it's the only boards I have at the house. Does the library compile for F4 boards? Do you get any type of error? Are the pins correctly configured for that board?

If you could give me a bit more info I can have a go at understanding what may be going on.

Thanks for using my code by the way!

On Sun, 2 Jul 2017 at 22:47, cnc4less [email protected] wrote:

your lib works great on stm32f1 with stm32duino maple official branch, i tried to use it with stm32f407 but could not make work , any configuration required ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bubulindo/STM32Encoder/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRPJ9jAw48mKw9CdV7Pd3R6cSPnfYPvks5sKA_zgaJpZM4OLs3N .

bubulindo avatar Jul 03 '17 07:07 bubulindo

yes the library complies fine but it will will generate noisy random numbers as if the encoder pins are not connected, it is not your code i think there must be a code added to assign the right pins correctly, i wrote a simple encoder library with attachinterrup like the basic arduino ones and does work , again it is how to assign pins , it needs additional code to override whatever assigned by stm32arduino on startup.

cnc4less avatar Jul 10 '17 02:07 cnc4less