teamALI / Mbed 2 deprecated RubyHwTest2

Dependencies:   mbed

Revision:
2:ff609fd0c51a
Parent:
1:c002cfb55315
Child:
3:6898c5bd7fef
--- a/uart.cpp	Mon Aug 20 07:37:12 2018 +0000
+++ b/uart.cpp	Mon Aug 20 07:58:27 2018 +0000
@@ -11,7 +11,6 @@
 static      char   msgBuf[63]  ={0,}    ;// 
 static      UCHAR   bp         =0      ;// バッファポインタ
 
-//int value = 0;
 DigitalOut  led4(LED4);
 
 //-------------------------------------------------------------
@@ -39,13 +38,10 @@
     sp.printf("%s\r\n" , msgBuf);
     
     if(strcmp(msgBuf , "i")==0 ){ 
-        //value += 10;
-        //if (value<250){
-            motorUp();
-        //}
+        motorUp();
     }
     
-    if(strcmp(msgBuf , "x")==0 ){ motorStop(value);}
+    if(strcmp(msgBuf , "x")==0 ){ motorStop();}
     
     //バッファクリア
     bufClear();