
app4
Dependencies: mbed-rtos mbed CRC16
Fork of S5info_APP2 by
Revision 18:73ae643a6803, committed 2017-03-07
- Comitter:
- ericbisson
- Date:
- Tue Mar 07 05:14:14 2017 +0000
- Parent:
- 17:2b4b3f3a0489
- Child:
- 19:e13ac9d940ab
- Commit message:
- fix comment
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Mar 07 05:12:51 2017 +0000 +++ b/main.cpp Tue Mar 07 05:14:14 2017 +0000 @@ -22,7 +22,7 @@ //Timer 1 (match) LPC_SC->PCLKSEL0 |= (1 << 4); // pclk = cclk timer1 LPC_SC->PCONP |= (1 << 2); // timer1 power on - LPC_TIM1->MR0 = 960000; // 100 ms + LPC_TIM1->MR0 = 960000; // 10 ms LPC_TIM1->MCR = 3; // interrupt and reset control LPC_TIM1->EMR = (3 << 4); // Interrupt & reset timer on match NVIC_EnableIRQ(TIMER1_IRQn); // enable timer interrupt