STM32 Tutorial #9 - Using a timer channel to blink a LED

preview_player
Показать описание
As usual - please like and subscribe, it really helps the channel growing viewers.

First dive into timer channels - using a very slow running PWM signal to blink the LED.

This one got slightly longer than I expected or wanted. This time I am using the STM32World STM32F405 based development board.

00:00 Intro and recap of last video
01:34 Starting the new project
03:10 The initial code - generating some debug output
09:44 Realizing - a bit slowly - that I am an idiot and fixing it
10:55 Configuring the timer
14:05 Starting the timer in PWM mode
17:30 Changing the duty cycle
Рекомендации по теме
Комментарии
Автор

Would be wonderful to see more comments on these videos.

LarsBgildThomsen
Автор

Excellent! Was searching for PWM using the crystal oscillator. Got several bonus tips including overriding _write for printf to USART/UART. New to the STM32 world but got decades of C experience. Will review your past videos for more tips.

SM-EE
Автор

As always I forget to beg for like and subscribe. Consider that done :)

stmworld