Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-dev BufferSerial
Quadrature encoders on Nucleo L432KC boa
Quadrature encoders on the L432KC board.
Encoders work well with TIM1, but if one wants a 32bit counter for the encoder then the file hal_tick.h in mbed-dev/../TARGET/../device/ must be edited and system ticker must be directed to TIM7 instead.
For an example of setting the encoder, see: https://developer.mbed.org/users/gregeric/code/Nucleo_Hello_Encoder/