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
Revision 5:719b008ce117, committed 2015-10-20
- Comitter:
- kantapon501
- Date:
- Tue Oct 20 07:57:43 2015 +0000
- Parent:
- 4:21ddb5cfccdf
- Commit message:
- lab3;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Oct 20 07:51:57 2015 +0000 +++ b/main.cpp Tue Oct 20 07:57:43 2015 +0000 @@ -44,7 +44,7 @@ { pc.printf("Input 1 for Pattern1\n"); pc.printf("Input 2 for Pattern2\n"); - pc.printf("Input 3 for Exit"); + pc.printf("Input 3 for Exit\n"); menu_1 = 1; } if(pc.readable()) @@ -59,7 +59,7 @@ case('2'): pc.printf("Pattern2\n"); } } - }while(select_1 == 3) + }while(select_1 != 3); break; case('2'): pc.printf("Read Status\n"); break;