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: MX12.cpp
- Revision:
- 11:9bc7f5e2ccee
- Parent:
- 10:ca9afe156ee1
- Child:
- 13:ccda9a56fef1
--- a/MX12.cpp Sat Nov 06 16:56:46 2021 +0000
+++ b/MX12.cpp Sat Nov 06 17:24:30 2021 +0000
@@ -271,8 +271,9 @@
}
}
+/* Code from previous version of the class */
+
/*
-
void MX12::ReadPosition(unsigned char mot_id) {
// Make a request, interrupt takes care of everything else
_state = State::ReadingPosition;
@@ -282,5 +283,4 @@
float MX12::GetPosition(unsigned char mot_id) {
return _angle[mot_id];
}
-
*/