HCB with MPC

Dependencies:   mbed Eigen FastPWM

Revision:
15:bd0d12728506
Parent:
11:82d8768d7351
Child:
20:806196fda269
diff -r 8e7590227d22 -r bd0d12728506 INIT_HW/INIT_HW.cpp
--- a/INIT_HW/INIT_HW.cpp	Thu Aug 29 07:38:00 2019 +0000
+++ b/INIT_HW/INIT_HW.cpp	Fri Aug 30 02:26:11 2019 +0000
@@ -70,7 +70,7 @@
     //PWM Setup
 
     TIM3->PSC = 0x0;                                            // no prescaler, timer counts up in sync with the peripheral clock
-    TIM3->ARR = TMR3_COUNT;                                          // set auto reload, 40 khz
+    TIM3->ARR = TMR3_COUNT;                                          // set auto reload, 5 khz
     TIM3->CCER |= ~(TIM_CCER_CC1NP);                            // Interupt when low side is on.
     TIM3->CR1 |= TIM_CR1_CEN;                                   // enable TIM4
 }
\ No newline at end of file