Timer as Encoder
bubulindo Fri Sep 11, 2015 10:57 am
It’s my first post here. I’ve played with the Maple boards before for some time (writing one of the RTC libraries on the web) and I decided dusting off my maple boards and picking up where I left off.
The hardware timers can be configured as an encoder reader. Meaning that they can count pulses with a direction bit ( count on one channel and the other channel as a direction bit), or as a normal two channel encoder with up and down counting.
I’ve added support for this functionality on the HardwareTimer class and related timer.c/h files, but am not sure what would be the best way to add these to the official repository for the stm32duino.
Can someone give me an indication, please?
