User Activity

How to generate PWM so that the LED lights up for 5 seconds? Now, my LED is just blinking. I watched a lot of tutorials, but I don't know where I'm wrong. I need help...My code: #include "stm32f10x.h" #include "stm32f10x_gpio.h" #include "stm32f10x_r...