Library that allows for higher resolution and speed than standard mbed PWM library using same syntax (drop-in replacement).

Dependencies:   RGBLed

Dependents:   Widgets

Revision:
21:aa2884be5496
Parent:
20:3c609bc4ae9c
Child:
24:1f451660d8c0
--- a/Device/FastPWM_STM_TIM_PinOut.cpp	Tue Jan 06 14:32:49 2015 +0000
+++ b/Device/FastPWM_STM_TIM_PinOut.cpp	Mon Jan 12 10:31:18 2015 +0000
@@ -99,6 +99,8 @@
     switch (pin) {
         // Channels 1 : PWMx/1
         case PA_2: case PA_6: case PA_4: case PA_7: case PA_8: case PB_1: case PB_4: case PB_8: case PB_9: case PB_14: case PC_6:
+        // Channels 1N : PWMx/1N
+        case PA_1: case PB_6: case PB_7: case PB_13:
             return &pwm->CCR1;
         
         // Channels 2 : PWMx/2