Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp@0:0be38b583cf7, 2011-09-25 (annotated)
- Committer:
- uehara00
- Date:
- Sun Sep 25 11:37:21 2011 +0000
- Revision:
- 0:0be38b583cf7
- Child:
- 1:aefa1992ce0f
Preliminary. Alarm functions are not yet implimented.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| uehara00 | 0:0be38b583cf7 | 1 | #include "Maple_alarm_clock.h" |
| uehara00 | 0:0be38b583cf7 | 2 | #include "Maple_RTC.h" |
| uehara00 | 0:0be38b583cf7 | 3 | #include "Maple_I2C.h" |
| uehara00 | 0:0be38b583cf7 | 4 | #include "Maple_LCD.h" |
| uehara00 | 0:0be38b583cf7 | 5 | #include "Maple.h" |
| uehara00 | 0:0be38b583cf7 | 6 | #include "mbed.h" |
| uehara00 | 0:0be38b583cf7 | 7 | |
| uehara00 | 0:0be38b583cf7 | 8 | // MAPLE board[MARM01-BASE] |
| uehara00 | 0:0be38b583cf7 | 9 | // test main |
| uehara00 | 0:0be38b583cf7 | 10 | // |
| uehara00 | 0:0be38b583cf7 | 11 | int main() { |
| uehara00 | 0:0be38b583cf7 | 12 | LCD_initialize(); |
| uehara00 | 0:0be38b583cf7 | 13 | RTC_initialize(); |
| uehara00 | 0:0be38b583cf7 | 14 | alarm_clock_initialize(); |
| uehara00 | 0:0be38b583cf7 | 15 | |
| uehara00 | 0:0be38b583cf7 | 16 | // wait interrupt |
| uehara00 | 0:0be38b583cf7 | 17 | while(1) { |
| uehara00 | 0:0be38b583cf7 | 18 | } |
| uehara00 | 0:0be38b583cf7 | 19 | } |