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
inc/menu.h@3:d8948c5b2951, 2018-11-27 (annotated)
- Committer:
- mfwic
- Date:
- Tue Nov 27 17:47:57 2018 +0000
- Revision:
- 3:d8948c5b2951
- Parent:
- 1:9f8583ba2431
- Child:
- 6:39442d493098
Menu works
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mfwic | 1:9f8583ba2431 | 1 | //------------------------------------------------------------------------------- |
mfwic | 1:9f8583ba2431 | 2 | // |
mfwic | 1:9f8583ba2431 | 3 | // Treehouse Inc. |
mfwic | 1:9f8583ba2431 | 4 | // Colorado Springs, Colorado |
mfwic | 1:9f8583ba2431 | 5 | // |
mfwic | 1:9f8583ba2431 | 6 | // Copyright (c) 2016 by Treehouse Designs Inc. |
mfwic | 1:9f8583ba2431 | 7 | // |
mfwic | 1:9f8583ba2431 | 8 | // This code is the property of Treehouse, Inc. (Treehouse) and may not be redistributed |
mfwic | 1:9f8583ba2431 | 9 | // in any form without prior written permission from the copyright holder, Treehouse. |
mfwic | 1:9f8583ba2431 | 10 | // |
mfwic | 1:9f8583ba2431 | 11 | // The above copyright notice and this permission notice shall be included in |
mfwic | 1:9f8583ba2431 | 12 | // all copies or substantial portions of the Software. |
mfwic | 1:9f8583ba2431 | 13 | // |
mfwic | 1:9f8583ba2431 | 14 | //------------------------------------------------------------------------------- |
mfwic | 1:9f8583ba2431 | 15 | // |
mfwic | 1:9f8583ba2431 | 16 | // REVISION HISTORY: |
mfwic | 1:9f8583ba2431 | 17 | // |
mfwic | 1:9f8583ba2431 | 18 | // $Author: $ |
mfwic | 1:9f8583ba2431 | 19 | // $Rev: $ |
mfwic | 1:9f8583ba2431 | 20 | // $Date: $ |
mfwic | 1:9f8583ba2431 | 21 | // $URL: $ |
mfwic | 1:9f8583ba2431 | 22 | // |
mfwic | 1:9f8583ba2431 | 23 | //------------------------------------------------------------------------------- |
mfwic | 1:9f8583ba2431 | 24 | |
mfwic | 1:9f8583ba2431 | 25 | #ifndef menu_H |
mfwic | 1:9f8583ba2431 | 26 | #define menu_H |
mfwic | 1:9f8583ba2431 | 27 | |
mfwic | 1:9f8583ba2431 | 28 | #include "mbed.h" |
mfwic | 1:9f8583ba2431 | 29 | |
mfwic | 3:d8948c5b2951 | 30 | enum menuTypes {MENU_DCM1, MENU_CALIBRATE, MENU_TEST, MENU_MAIN}; |
mfwic | 3:d8948c5b2951 | 31 | |
mfwic | 1:9f8583ba2431 | 32 | void clrScrn(void); |
mfwic | 1:9f8583ba2431 | 33 | void menuRedraw(void); |
mfwic | 3:d8948c5b2951 | 34 | void menuPrompt(int); |
mfwic | 1:9f8583ba2431 | 35 | |
mfwic | 1:9f8583ba2431 | 36 | #endif |