changes to motor library

Dependents:   pid-car-example

Fork of motor by Lawrence Harlow

Branch:
motorupdate
Revision:
15:f40e834d063b
Parent:
14:bc77edc4adb0
Child:
21:aaa482dad274
diff -r bc77edc4adb0 -r f40e834d063b motor.h
--- a/motor.h	Sun Nov 20 13:24:43 2016 +0000
+++ b/motor.h	Sun Nov 20 13:45:30 2016 +0000
@@ -10,18 +10,18 @@
 void centerWheels();
 
 //Speed control
-void Acc(float& motorA, float& motorB);
-void Decc(float& motorA, float& motorB);
-void StartLine();
+
+
+float setDutyCycle(float dutyC, int w,int targetW);
 
 //Corner Control
 
-void PWM_cornerCntrl(bool a,float pwmRatio);
+
 void cornerLeft(float speed);
 void cornerRight(float speed);
 
 //advanced corner
 void dutyCycleCorner( float speed, float angle);
 void corner(float &w1,float &w2,float deltaTheta,int maxspeed);
-void centerWheels();
+
 void steering(float center, float theta, int maxspeed);
\ No newline at end of file