need to use Dynamixel
Dependents: YOZAKURA_ARM YOZAKURA_ARM_USB YOZAKURA_ARM_USB_Keyboard YOZAKURA_ARM_Keyboard0424 ... more
Fork of SerialHalfDuplex by
Revision 3:8eeadefbee4e, committed 2015-04-10
- Comitter:
- yusuke_kyo
- Date:
- Fri Apr 10 03:16:40 2015 +0000
- Parent:
- 2:5ecc72a47df0
- Child:
- 4:9fdccecae31f
- Commit message:
- open library
Changed in this revision
SerialHalfDuplex.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SerialHalfDuplex.cpp Tue Apr 01 06:50:02 2014 +0000 +++ b/SerialHalfDuplex.cpp Fri Apr 10 03:16:40 2015 +0000 @@ -28,11 +28,12 @@ #include "pinmap.h" #include "serial_api.h" #include "gpio_api.h" +#include "RawSerial.h" namespace mbed { SerialHalfDuplex::SerialHalfDuplex(PinName tx, PinName rx, const char *name) - : Serial(tx, rx, name) { + : RawSerial(tx, rx, name) { _txpin = tx; // set as input