Praktikum2_3_AMSL
Dependencies: mbed
Fork of TimerInterruptExample by
Diff: main.cpp
- Revision:
- 1:d0f2c4f9291b
- Parent:
- 0:a6ea53688962
--- 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;