Eurobot2012_Primary
Dependencies: mbed Eurobot_2012_Primary
Diff: motors/motors.h
- Revision:
- 23:1901cb6d0d95
- Parent:
- 2:cffa347bb943
--- a/motors/motors.h Thu May 03 14:20:04 2012 +0000 +++ b/motors/motors.h Fri May 04 02:50:07 2012 +0000 @@ -31,10 +31,10 @@ float _debug1; float _debug2; int accelerationRegister; //turns on acceleration control + void coastStop(); private: - - + void _setSpeed(int speed1, int speed2); void _stop(); void _stop(int motor1, int motor2); @@ -55,6 +55,7 @@ int _pidDataBufferIndex; int _accelerationSpeed1; int _accelerationSpeed2; + int _enableSpeed; Ticker _ticker; };