Dyanamixel
Dependents: YOZAKURA_ARM YOZAKURA_ARM_USB YOZAKURA_ARM_USB_Keyboard YOZAKURA_ARM_Keyboard0424 ... more
Diff: MX28.h
- Revision:
- 3:97fc13b4168c
- Parent:
- 2:08072af3e9da
- Child:
- 5:950c4f4f73c6
--- a/MX28.h Thu Apr 09 04:23:51 2015 +0000 +++ b/MX28.h Fri Apr 10 03:16:21 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,8 @@ private : -// SerialHalfDuplex _mx28; - Serial _mx28; + SerialHalfDuplex _mx28; +// Serial _mx28; int _ID; int read(int ID, int start, int length, char* data);