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

Revision:
2:c198a0f824eb
Parent:
1:e3538c234a60
--- a/mbed.bld	Mon Feb 17 22:16:24 2014 +0000
+++ b/mbed.bld	Wed Jun 07 13:22:25 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/
\ No newline at end of file
+https://mbed.org/users/mbed_official/code/mbed/builds/86740a56073b
\ No newline at end of file