Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: INIT_HW/INIT_HW.cpp
- Revision:
- 15:bd0d12728506
- Parent:
- 11:82d8768d7351
- Child:
- 20:806196fda269
--- 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