summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-07-10 20:13:28 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-07-10 20:13:28 +0200
commit87661d895702981d81bf0d595ff2a272e17e5689 (patch)
tree768ded6b136a1492ca91dbf59efdafa2ebc4d8ea
parent3c8291ea9d5481640cc76f86fd2aa1574c240f44 (diff)
200 Hz update rate.
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index ed03845..7cc835e 100644
--- a/main.cpp
+++ b/main.cpp
@@ -74,7 +74,7 @@ int main() {
RCC.enable(RCC.TIM2);
TIM2.PSC = 72;
- TIM2.ARR = 20000;
+ TIM2.ARR = 5000;
TIM2.CCER = 0x1111;
TIM2.CCMR1 = 0x6868;
TIM2.CCMR2 = 0x6868;