This is an example of PWM on the STM32L476 Discovery board using the default PWM pin of PB3. This counts up to 100% (On) then counts down 0% (Off) and then counts up, repeating the pattern over and over.

Dependencies:   mbed

mbed.bld

Committer:
jblackann
Date:
2018-03-19
Revision:
3:9aa9bfe031bb
Parent:
2:c198a0f824eb

File content as of revision 3:9aa9bfe031bb:

https://mbed.org/users/mbed_official/code/mbed/builds/86740a56073b