It is based on https://developer.mbed.org/users/gregeric/code/Nucleo_Hello_Encoder/

Changes