Dyanamixel
Dependents: YOZAKURA_ARM YOZAKURA_ARM_USB YOZAKURA_ARM_USB_Keyboard YOZAKURA_ARM_Keyboard0424 ... more
Diff: MX28.h
- Revision:
- 4:c6f37021e939
- Parent:
- 2:08072af3e9da
--- a/MX28.h Thu Apr 09 04:23:51 2015 +0000 +++ b/MX28.h Thu Apr 16 02:36:06 2015 +0000 @@ -25,7 +25,7 @@ #define MBED_MX28_H #include "mbed.h" -//#include "SerialHalfDuplex.h" +#include "SerialHalfDuplex.h" #define MX28_WRITE_DEBUG 0 #define MX28_READ_DEBUG 0 @@ -155,8 +155,7 @@ private : -// SerialHalfDuplex _mx28; - Serial _mx28; + SerialHalfDuplex _mx28; int _ID; int read(int ID, int start, int length, char* data);