Forked FastPWM

Dependents:   Berekenen_motorhoek Encoder System_Identification Motor_PID_set_parameters ... more

Fork of FastPWM by Erik -

Files at this revision

API Documentation at this revision

Comitter:
jocis
Date:
Wed Oct 01 18:20:41 2014 +0000
Parent:
14:b30038fbba51
Child:
16:ec208b5ec0bb
Commit message:
Added Nucleo F411RE

Changed in this revision

Device/FastPWM_STM_TIM_PinOut.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Device/FastPWM_STM_TIM_PinOut.cpp	Tue Sep 30 19:00:27 2014 +0000
+++ b/Device/FastPWM_STM_TIM_PinOut.cpp	Wed Oct 01 18:20:41 2014 +0000
@@ -23,7 +23,7 @@
 }
 #endif
 
-#ifdef TARGET_NUCLEO_F401RE
+#if defined TARGET_NUCLEO_F401RE || defined TARGET_NUCLEO_F411RE
 __IO uint32_t* getChannel(TIM_TypeDef* pwm, PinName pin) {
     switch (pin) {
         // Channels 1