A program to monitor some parameters for a motor

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/


All wikipages