Here's my example code of how to use PWM in stm32F4 Discovery leds ( green, orange, red & blue )
Posted on April 06, 2012 at 18:41Hi hope this example is useful for anyone else in here. Code is adapted from one of the examples on TIM/PWM:/* leds in the board will fade */int main(void){ TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; TIM_OCI...