XBee API operation library for mbed for miniprojects
Dependencies: SmartLabXBeeCore
Fork of SmartLabXBeeAPI2 by
Diff: SerialData.cpp
- Revision:
- 4:451ab26ae555
- Parent:
- 2:723cccd7659a
- Child:
- 6:a7da3da4e053
--- a/SerialData.cpp Thu Oct 22 22:25:05 2015 +0000 +++ b/SerialData.cpp Mon Oct 26 18:04:30 2015 +0000 @@ -25,7 +25,8 @@ void SerialData::writeByte(char data) { - serialPort->putc(data); + //while (!serialPort->writeable()) + serialPort->putc(data); } bool SerialData::peek()