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.h
- 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);