My Version of the Crealab MotorLib.

Fork of MotorLib by CreaLab

Revision:
6:aec892eb1b49
Parent:
5:9886fd337a4b
Child:
7:439458133bba
--- a/motor.h	Wed Oct 05 18:54:35 2016 +0000
+++ b/motor.h	Tue Oct 11 22:21:56 2016 +0000
@@ -40,6 +40,7 @@
     Motor(PinName _MPh0, PinName _MPh1, PinName _MPh2, PinName _MPh3, uint32_t TickTime);
     void RunSteps(MotorDir direction, uint32_t steps);
     void RunDegrees(MotorDir direction, float steps);
+   void RunInfinite(MotorDir direction);
     void SetDirection(MotorDir dir);
     void TestMotor();
     void RunMotor();