eeprom_test

Dependencies:   mbed FastPWM

Revision:
21:e5f1a43ea6f9
Parent:
20:806196fda269
Child:
23:59218d4a256d
--- a/INIT_HW/INIT_HW.cpp	Mon Sep 09 06:57:31 2019 +0000
+++ b/INIT_HW/INIT_HW.cpp	Mon Sep 09 10:10:31 2019 +0000
@@ -87,7 +87,7 @@
     TIM5->RCR |= 0x001;                                         // update event once per up/down count of TIM5
     TIM5->EGR |= TIM_EGR_UG;
 
-    TIM5->PSC = 0x0012;                                            // no prescaler, timer counts up in sync with the peripheral clock
+    TIM5->PSC = 0x0;                                            // no prescaler, timer counts up in sync with the peripheral clock
     TIM5->ARR = TMR5_COUNT;                                          // set auto reload, 5 khz
     TIM5->CCER |= ~(TIM_CCER_CC1NP);                            // Interupt when low side is on.
     TIM5->CR1 |= TIM_CR1_CEN;                                   // enable TIM5