library for the motor driver

Dependents:   4180_final_project

Fork of libTCS34725 by Michael Wilkens

Revision:
7:e1be74ebe7be
Parent:
6:560b232837cf
diff -r 560b232837cf -r e1be74ebe7be TB6612FNG.h
--- a/TB6612FNG.h	Fri Mar 31 15:50:00 2017 +0000
+++ b/TB6612FNG.h	Tue Apr 18 19:53:13 2017 +0000
@@ -56,9 +56,13 @@
         */
         void start();
         
+        /** Stops the motor from moving
+        */
+        void stop();
+        
         /** Disables the motor, puts it into standby
         */
-        void stop();
+        void standby();
         
         /** Sets the motor to move forward at a given speed (as a percent [0,1])
         * @param speed Speed of the motor as a percent [0,1]