mbed to Dynamixel servo communication.
Dependents: dynamixel_wheel_test
Diff: Dynamixel.h
- Revision:
- 5:7e661fef9c66
- Parent:
- 4:92ff8b2f3b3f
- Child:
- 6:edba46e8f8b4
--- a/Dynamixel.h Wed Aug 19 09:23:06 2015 +0000 +++ b/Dynamixel.h Wed Aug 19 09:24:38 2015 +0000 @@ -2,7 +2,7 @@ #define DEF_DYNAMIXEL #include "mbed.h" -/*// ========== Compile Options ========== +// ========== Compile Options ========== #define ENABLE_uSerial 0 // ========== DEBUG Console ============ #if ENABLE_uSerial @@ -10,7 +10,7 @@ #define DEBUG(...) { debug_userial.printf(__VA_ARGS__); } #else #define DEBUG(...) -#endif*/ +#endif const unsigned char BROADCAST_ID = 0xfe; const unsigned char STATUS_PACKET_LENGTH = 0x06; // Instruction set