PSL_2021 / servomotor_MX12_Lorenzo

Dependents:   PSL_ROBOT_lorenzo robot_lorenzo recepteur_mbed_os_6

Revision:
11:9bc7f5e2ccee
Parent:
10:ca9afe156ee1
Child:
13:ccda9a56fef1
diff -r ca9afe156ee1 -r 9bc7f5e2ccee MX12.cpp
--- 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];
 }
-
 */