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.
Diff: main.cpp
- Revision:
- 2:45db4f4ca70d
- Parent:
- 1:cb6811ef87de
- Child:
- 3:32e67d121c7f
--- a/main.cpp Fri Jul 12 17:14:01 2013 +0000 +++ b/main.cpp Fri Jul 12 17:36:39 2013 +0000 @@ -1,13 +1,18 @@ #include "mbed.h" #include "menu.h" #include "parameters.h" - +//#include "handlers.h" Serial pc(USBTX, USBRX); - + +char sel; +int state; + +void mode_idle_handler(int*, char); + int main() { - char sel; + pc.baud(115200); //config buad rate state = MODE_IDLE;