ROBOSTEP_5期 / Mbed 2 deprecated George_Master_Param

Dependencies:   mbed robot

Revision:
30:231e6584afe9
Parent:
29:81d159ff339a
Child:
31:ed4249a288d7
diff -r 81d159ff339a -r 231e6584afe9 moves/moves.cpp
--- a/moves/moves.cpp	Wed May 08 08:44:12 2019 +0000
+++ b/moves/moves.cpp	Wed May 08 09:16:30 2019 +0000
@@ -75,6 +75,11 @@
         straight();
     }
 }
+
+void stop()
+{
+    Run(STOP,0);
+}
 void straight()
 {
     Run(FORWARD,1);