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