mbed to Dynamixel servo communication.

Dependents:   dynamixel_wheel_test

Revision:
4:92ff8b2f3b3f
Parent:
3:61785d105315
Child:
5:7e661fef9c66
diff -r 61785d105315 -r 92ff8b2f3b3f Dynamixel.h
--- a/Dynamixel.h	Wed Aug 19 08:59:16 2015 +0000
+++ b/Dynamixel.h	Wed Aug 19 09:23:06 2015 +0000
@@ -2,6 +2,15 @@
 #define DEF_DYNAMIXEL
 
 #include "mbed.h"
+/*// ========== Compile Options ==========
+#define ENABLE_uSerial  0
+// ========== DEBUG Console ============
+#if ENABLE_uSerial
+Serial  debug_userial(USBTX, USBRX);
+#define DEBUG(...) { debug_userial.printf(__VA_ARGS__); }
+#else
+#define DEBUG(...)
+#endif*/
 const unsigned char BROADCAST_ID = 0xfe;
 const unsigned char STATUS_PACKET_LENGTH = 0x06;
 // Instruction set