![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
RTOS homework 4
Diff: main.cpp
- Revision:
- 6:bb5f989e3425
- Parent:
- 5:faa6d8a04501
- Child:
- 7:562f136c7681
--- a/main.cpp Sun Aug 18 15:58:47 2013 +0000 +++ b/main.cpp Sun Aug 18 16:01:44 2013 +0000 @@ -96,6 +96,20 @@ iJoyStickLeft.rise(&ISR_left); iJoyStickRight.rise(&ISR_right); iJoyStickCenter.rise(&ISR_center); + + initialization(); + + // metronome ticker. + tickerMetronome.attach(&interrupt_service_M,fMetroDelay); + + // LCD ticker. + tickerLCD.attach(&lcd_display,LCDSAMPLERATE); + + while(1) + { + + wait(10.0); + } } /*----------------------------------------------//----------------------------*/