I describe in more detail what I did. The STM32L051C8T6 controller operates from an external oscillator at a frequency of 20 MHz, a general purpose timer TIM2 with a prescaler 199 and a counter period 99, thus the counting frequency is 1000 Hz. The 4...