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.
Dependencies: mbed N5110 ShiftReg PinDetect
MainMenu.cpp@5:100d960fc6d5, 2015-05-01 (annotated)
- Committer:
- Siriagus
- Date:
- Fri May 01 09:10:23 2015 +0000
- Revision:
- 5:100d960fc6d5
- Child:
- 6:edb48de563a9
Mostly finished State and StateManager class. Some additional work must be done when adding new main states.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Siriagus | 5:100d960fc6d5 | 1 | #include "MainMenu.h" |
| Siriagus | 5:100d960fc6d5 | 2 | |
| Siriagus | 5:100d960fc6d5 | 3 | void MainMenu::init() |
| Siriagus | 5:100d960fc6d5 | 4 | { |
| Siriagus | 5:100d960fc6d5 | 5 | |
| Siriagus | 5:100d960fc6d5 | 6 | } |
| Siriagus | 5:100d960fc6d5 | 7 | |
| Siriagus | 5:100d960fc6d5 | 8 | void MainMenu::update(time_t dt) |
| Siriagus | 5:100d960fc6d5 | 9 | { |
| Siriagus | 5:100d960fc6d5 | 10 | |
| Siriagus | 5:100d960fc6d5 | 11 | } |
| Siriagus | 5:100d960fc6d5 | 12 | |
| Siriagus | 5:100d960fc6d5 | 13 | void MainMenu::render() |
| Siriagus | 5:100d960fc6d5 | 14 | { |
| Siriagus | 5:100d960fc6d5 | 15 | lcd->printString("Main Menu", 10, 1); |
| Siriagus | 5:100d960fc6d5 | 16 | } |