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.
Fork of MotorLib by
Diff: motor.h
- Revision:
- 8:4dd59b6f4e92
- Parent:
- 7:439458133bba
- Child:
- 9:5983c10d5f8e
--- a/motor.h Thu Mar 09 11:58:10 2017 +0000 +++ b/motor.h Mon Jul 17 11:45:44 2017 +0000 @@ -70,7 +70,7 @@ timestamp_t MotorStepTime; // Time in µs for one motor step uint32_t MotorFullTurn; // Number of step for a complete turn // uint32_t NumWires; // Number of Wires - uint32_t NumSteps; // Number of Steps = NumWire * MotorFullTurn + int32_t NumSteps; // Number of Steps = NumWire * MotorFullTurn };