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-dev-f303 FastPWM3
Dependents: GT_MOTOR_24NM_V03 GT_MOTOR_24NM_V03_PT1000CalTemp
Diff: PositionSensor/PositionSensor.h
- Revision:
- 37:c0f352d6e8e3
- Parent:
- 35:69b24894c11d
- Child:
- 38:67e4e1453a4b
--- a/PositionSensor/PositionSensor.h Fri Mar 02 15:24:00 2018 +0000
+++ b/PositionSensor/PositionSensor.h Fri Apr 13 13:50:54 2018 +0000
@@ -47,9 +47,11 @@
virtual float GetMechPosition();
virtual float GetElecPosition();
virtual float GetMechVelocity();
+ virtual float GetElecVelocity();
virtual int GetRawPosition();
virtual void ZeroPosition();
virtual void SetElecOffset(float offset);
+ virtual void SetMechOffset(float offset);
virtual int GetCPR(void);
virtual void WriteLUT(int new_lut[128]);
private: