changes to motor library

Dependents:   pid-car-example

Fork of motor by Lawrence Harlow

Revision:
0:b0476dcfa14c
Child:
6:b4346ef9fa04
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/motor.h	Tue Oct 18 14:57:55 2016 +0000
@@ -0,0 +1,19 @@
+#include "mbed.h"
+#include "TFC.h"
+
+int  motor_setup(); 
+void TurnOn();
+void RunMotor();
+void DefaultMode();
+
+
+//Speed control
+void Acc(float& motorA, float& motorB);
+void Decc(float& motorA, float& motorB);
+void StartLine();
+
+//Corner Control
+
+void PWM_cornerCntrl(bool a,float pwmRatio);
+void cornerLeft(float speed);
+void cornerRight(float speed);