Dyanamixel
Dependents: YOZAKURA_ARM YOZAKURA_ARM_USB YOZAKURA_ARM_USB_Keyboard YOZAKURA_ARM_Keyboard0424 ... more
Diff: AX12.h
- Revision:
- 4:c6f37021e939
- Parent:
- 1:3ac0919c093f
--- a/AX12.h Thu Apr 09 04:23:51 2015 +0000 +++ b/AX12.h Thu Apr 16 02:36:06 2015 +0000 @@ -25,7 +25,7 @@ #define MBED_AX12_H #include "mbed.h" -//#include "SerialHalfDuplex.h" +#include "SerialHalfDuplex.h" #define AX12_WRITE_DEBUG 0 #define AX12_READ_DEBUG 0 @@ -168,8 +168,7 @@ private : -// SerialHalfDuplex _ax12; - Serial _ax12; + SerialHalfDuplex _ax12; int _ID; int read(int ID, int start, int length, char* data);