Hi,
the faulty behavior of my code is that normally pos value does not
change at all. I very rare cases it changes in one big step, to 65535
one time.
What kind of setting do you propose for pb6 and pb7? I also thought
about putting them into a special mode, but found only GPIO_MODE_INPUT,
G
Should the mode settings for pb6 and pb7 be set to alternative function
rather than input? In what way is it not working?
On 09:32, Tue 11 Aug 2015 Thorsten Eggert wrote:
> Hi all,
> I'm trying to get an encoder like this:
>
>
> http://www.aliexpress.com/item/New-High-Quality-Incremental-optica
Hi all,
I'm trying to get an encoder like this:
http://www.aliexpress.com/item/New-High-Quality-Incremental-optical-rotary-encoder-400-600-360-pulses-Rev-AB-2-phase-DC5/2048956011.html
working on a Maple mini, which uses a stm32f103rc. I connected the
phases of the encoder to PB6 and PB7. I wrot