changes to motor library
Fork of motor by
motor.h
- Committer:
- lh14g13
- Date:
- 2016-10-18
- Revision:
- 0:b0476dcfa14c
- Child:
- 6:b4346ef9fa04
File content as of revision 0:b0476dcfa14c:
#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);