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@3:eec13a411e94, 2011-10-30 (annotated)
- Committer:
- uehara00
- Date:
- Sun Oct 30 21:20:23 2011 +0000
- Revision:
- 3:eec13a411e94
- Parent:
- 1:aefa1992ce0f
OLED(MARY-OB) drivers and demonstrations are added.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| uehara00 | 1:aefa1992ce0f | 1 | //copyright 2011 Uehara Yoshiyuki |
| uehara00 | 1:aefa1992ce0f | 2 | //==================================================================== |
| uehara00 | 1:aefa1992ce0f | 3 | //The author provide the programs without any guarantees or warranty. |
| uehara00 | 1:aefa1992ce0f | 4 | //The author is not responsible for any damage or losses of any kind |
| uehara00 | 1:aefa1992ce0f | 5 | //caused by using or misusing of the programs. |
| uehara00 | 1:aefa1992ce0f | 6 | //The author is under no obligation to provide support, service, |
| uehara00 | 1:aefa1992ce0f | 7 | //corrections, or upgrades to the programs. |
| uehara00 | 1:aefa1992ce0f | 8 | //==================================================================== |
| uehara00 | 1:aefa1992ce0f | 9 | // MAPLE board[MARM01-BASE] |
| uehara00 | 1:aefa1992ce0f | 10 | // main |
| uehara00 | 3:eec13a411e94 | 11 | #include "Maple_test.h" |
| uehara00 | 3:eec13a411e94 | 12 | #include "Maple_console.h" |
| uehara00 | 3:eec13a411e94 | 13 | #include "Maple_OLED.h" |
| uehara00 | 3:eec13a411e94 | 14 | #include "Maple_LCD.h" |
| uehara00 | 0:0be38b583cf7 | 15 | #include "Maple_RTC.h" |
| uehara00 | 0:0be38b583cf7 | 16 | #include "Maple_I2C.h" |
| uehara00 | 0:0be38b583cf7 | 17 | #include "Maple.h" |
| uehara00 | 0:0be38b583cf7 | 18 | #include "mbed.h" |
| uehara00 | 0:0be38b583cf7 | 19 | |
| uehara00 | 0:0be38b583cf7 | 20 | int main() { |
| uehara00 | 3:eec13a411e94 | 21 | OLED_initialize(); |
| uehara00 | 0:0be38b583cf7 | 22 | LCD_initialize(); |
| uehara00 | 0:0be38b583cf7 | 23 | RTC_initialize(); |
| uehara00 | 3:eec13a411e94 | 24 | console_initialize(); |
| uehara00 | 3:eec13a411e94 | 25 | |
| uehara00 | 0:0be38b583cf7 | 26 | // wait interrupt |
| uehara00 | 0:0be38b583cf7 | 27 | while(1) { |
| uehara00 | 0:0be38b583cf7 | 28 | } |
| uehara00 | 0:0be38b583cf7 | 29 | } |