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 AX-12A by
Diff: AX12.h
- Revision:
- 7:155ecc801119
- Parent:
- 6:a702043b1420
- Child:
- 8:b6979be5a0a7
--- a/AX12.h Tue Dec 29 23:31:19 2015 +0000
+++ b/AX12.h Thu Dec 31 17:47:43 2015 +0000
@@ -104,6 +104,9 @@
// gets the servo power supply voltage
float GetSupplyVoltage(void);
+ // gets the servo load
+ float GetLoad(void);
+
// enables/disables holding torque
StatusCode TorqueEnable( bool );
@@ -141,6 +144,9 @@
// last read voltage
float _LastVoltage;
+ // last read load
+ float _LastLoad;
+
unsigned char _LastError;
};
