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
Fork of BeaconDemo_RobotCode by
Revision 22:a5eb04a8cf38, committed 2017-03-07
- Comitter:
- jhok500
- Date:
- Tue Mar 07 13:05:37 2017 +0000
- Parent:
- 21:efe191c96cbb
- Commit message:
- yis
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Mar 06 13:52:55 2017 +0000 +++ b/main.cpp Tue Mar 07 13:05:37 2017 +0000 @@ -241,7 +241,7 @@ if(buffer[0] == 'A'){ main_program_state = 255; - display.write_string("MALLARD QUACK QUACK"); + display.write_string("MALLARD!!!"); } //"B" = 0x42 else if(buffer[0] == 'B'){ @@ -252,7 +252,8 @@ //"C" = 0x43 else if(buffer[0] == 'C'){ main_program_state = 2; - display.write_string("LAPS (SOUTH)"); + //THIS SHOULD NOT BE CALLED + display.write_string("Uh-oh. Try again!"); } //"D" = 0x44 else if(buffer[0] == 'D'){ @@ -273,7 +274,9 @@ } else if(buffer[0] == 'H'){ main_program_state = 6; - display.write_string("CLUSTERING"); + //THIS SHOULD NOT BE CALLED + //display.write_string("CLUSTERING"); + display.write_string("Uh-oh. Try again!"); } else if(buffer[0] == 'I'){ main_program_state = 7;