From 87661d895702981d81bf0d595ff2a272e17e5689 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 10 Jul 2011 20:13:28 +0200 Subject: 200 Hz update rate. --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3