application for developing a menu

Dependencies:   C12832_lcd mbed

Committer:
Mircea3M
Date:
Fri Mar 21 15:22:35 2014 +0000
Revision:
0:842039476c99
Menu example

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Mircea3M 0:842039476c99 1 //#include "mbed.h"
Mircea3M 0:842039476c99 2 #include "mcu.h"
Mircea3M 0:842039476c99 3
Mircea3M 0:842039476c99 4
Mircea3M 0:842039476c99 5
Mircea3M 0:842039476c99 6 int main() {
Mircea3M 0:842039476c99 7
Mircea3M 0:842039476c99 8 lcd.setmode(NORMAL);
Mircea3M 0:842039476c99 9 lcd.set_contrast(25);
Mircea3M 0:842039476c99 10
Mircea3M 0:842039476c99 11 browse_menu();
Mircea3M 0:842039476c99 12
Mircea3M 0:842039476c99 13 while(1) {
Mircea3M 0:842039476c99 14 myled = 1;
Mircea3M 0:842039476c99 15 wait(0.2);
Mircea3M 0:842039476c99 16 myled = 0;
Mircea3M 0:842039476c99 17 wait(0.2);
Mircea3M 0:842039476c99 18 }
Mircea3M 0:842039476c99 19 }