help me plzzzzzz

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
iampalop
Date:
Thu Nov 02 12:04:26 2017 +0000
Parent:
4:3f2aa5ee0c7f
Commit message:
real real

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Nov 02 07:03:26 2017 +0000
+++ b/main.cpp	Thu Nov 02 12:04:26 2017 +0000
@@ -214,7 +214,7 @@
                         {
                             pc.printf("***LOGIC Test***\n");
                             pc.printf("a.show logic\n");
-                            pc.printf("x.exit\n\n");
+                            pc.printf("s.exit\n\n");
                             state_menu = 1;
                         }
                         if(pc.readable())
@@ -251,7 +251,7 @@
                                         {
                                             status_logic3 = 1;
                                         }
-                                        pc.printf("<<input s to go back>>  D0=%d D1=%d D2=%d\n", status_logic1, status_logic2, status_logic3);
+                                        pc.printf("<<input x to go back>>  D0=%d D1=%d D2=%d\n", status_logic1, status_logic2, status_logic3);
                                         
                                         if(pc.readable())
                                         {  
@@ -259,7 +259,7 @@
                                             
                                             switch(input)
                                             {
-                                                case 's':
+                                                case 'x':
                                                     show_logic = 1;
                                                     break;
                                                 default:
@@ -269,7 +269,7 @@
                                     }while(show_logic == 0);
                                     show_logic = 0;
                                     break;
-                                case 'x':
+                                case 's':
                                     state_exit = 1;
                                     break;
                                 default: