Praktikum2_3_AMSL

Dependencies:   mbed

Fork of TimerInterruptExample by Simon Ford

Files at this revision

API Documentation at this revision

Comitter:
slueke
Date:
Wed Mar 07 18:55:27 2018 +0000
Parent:
0:a6ea53688962
Commit message:
Praktikum2_3_AMSL

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r a6ea53688962 -r d0f2c4f9291b main.cpp
--- a/main.cpp	Tue Feb 09 11:00:52 2010 +0000
+++ b/main.cpp	Wed Mar 07 18:55:27 2018 +0000
@@ -25,7 +25,7 @@
     LPC_TIM0->PR = 0;
 
     // calculate period (1 interrupt every second)
-    uint32_t period = SystemCoreClock / 4; 
+    uint32_t period = SystemCoreClock / 20; 
 
     // set match register and enable interrupt    
 	LPC_TIM0->MR0 = period;