This video demonstrates how to use the STM32 timer to count button presses and control an LED without CPU involvement. The tutorial explains how to configure the timer for external clock mode 2 and PWM mode 2, allowing the timer to count rising edges on a push button and control the LED based on the count value.
2838 11 месяцев назад 13:23