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.
Diff: PositionSensor/PositionSensor.h
- Revision:
- 11:c83b18d41e54
- Parent:
- 10:370851e6e132
- Child:
- 13:a3fa0a31b114
diff -r 370851e6e132 -r c83b18d41e54 PositionSensor/PositionSensor.h --- a/PositionSensor/PositionSensor.h Thu May 12 05:02:52 2016 +0000 +++ b/PositionSensor/PositionSensor.h Sun May 22 00:14:59 2016 +0000 @@ -32,6 +32,7 @@ virtual float GetMechPosition(); virtual float GetElecPosition(); virtual float GetMechVelocity(); + virtual int GetRawPosition(); virtual void ZeroPosition(); private: float _offset, MechPosition, MechOffset;