robostep8th / Mbed 2 deprecated F3RC-mbed-new

Dependencies:   mbed move3wheel

Files at this revision

API Documentation at this revision

Comitter:
yuki0701
Date:
Sun Aug 04 12:21:18 2019 +0000
Parent:
21:0d063cc8b15f
Commit message:
a

Changed in this revision

User.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/User.cpp	Thu Nov 01 01:56:20 2018 +0000
+++ b/User.cpp	Sun Aug 04 12:21:18 2019 +0000
@@ -350,7 +350,7 @@
         wait(0.1);
         if((ButtonState >> BUTTONTRIANGEL)&1 == 1) {
             data1=1;
-            //printf("5");
+            printf("5");
         }
     }
 
@@ -359,7 +359,7 @@
         wait(0.1);
         if((ButtonState >> BUTTONCIRCLE)&1 == 1) {
             data1=2;
-            //printf("2");
+            printf("2");
         }
     }
 
@@ -368,7 +368,7 @@
         wait(0.1);
         if((ButtonState >> BUTTONCROSS)&1 == 1  ) {
             data1=3;
-            //printf("3\r\n");
+            printf("3\r\n");
         }
     }
 
@@ -379,7 +379,7 @@
         wait(0.1);
         if((ButtonState >> BUTTONSQUARE)&1 == 1 ) {
             data1=4;
-            //printf("4");
+            printf("4");
         }
     }
 
@@ -388,7 +388,7 @@
         wait(0.1);
         if((ButtonState >> BUTTONLEFT)&1 == 1) {
             data1=5;
-            //printf("5");
+            printf("5");
 
         }
     }