Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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; };