Mike Moore
/
RTOS_HW_04
RTOS homework 4
Revision 6:bb5f989e3425, committed 2013-08-18
- Comitter:
- gatedClock
- Date:
- Sun Aug 18 16:01:44 2013 +0000
- Parent:
- 5:faa6d8a04501
- Child:
- 7:562f136c7681
- Commit message:
- partial functionality, but up/down control is too fast & doesn't display.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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); + } } /*----------------------------------------------//----------------------------*/