PSL_2021 / servomotor_MX12_Lorenzo

Dependents:   PSL_ROBOT_lorenzo robot_lorenzo recepteur_mbed_os_6

Revision:
4:277e5a4cba2e
Parent:
3:add8b050eb86
Child:
5:0cf54586a4be
--- a/MX12.h	Thu Nov 04 07:21:32 2021 +0000
+++ b/MX12.h	Thu Nov 04 07:32:20 2021 +0000
@@ -120,7 +120,7 @@
          * @see https://emanual.robotis.com/docs/en/dxl/protocol1/
          *
          * Packet sent
-         *
+         * <PRE>
          * |Header1|Header2|Packet ID|Length|Instruction|Param1...ParamN|Checksum |
          * |-------|-------|---------|------|-----------|---------------|---------|
          * |  0xFF |  0xFF |Packet ID|Length|Instruction|Param1...ParamN| CHKSUM  |
@@ -129,6 +129,7 @@
          *                                                 \/      \/
          *                                              address   data
          *                                                        (len = N-1)
+         * </PRE>
          */
         void rw(unsigned char mot_id, char address, char len, char *data);