XBee API operation library for mbed
Revision 4:451ab26ae555, committed 2015-10-26
- Comitter:
- yangcq88517
- Date:
- Mon Oct 26 18:04:30 2015 +0000
- Parent:
- 3:408c43b387a5
- Child:
- 5:da252d355673
- Commit message:
- bug fix add new functions
Changed in this revision
SerialData.cpp | Show annotated file Show diff for this revision Revisions of this file |
SmartLabXBeeCore.lib | Show annotated file Show diff for this revision Revisions of this file |
--- 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()
--- a/SmartLabXBeeCore.lib Thu Oct 22 22:25:05 2015 +0000 +++ b/SmartLabXBeeCore.lib Mon Oct 26 18:04:30 2015 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/yangcq88517/code/SmartLabXBeeCore/#700dc65ca3b1 +https://developer.mbed.org/users/yangcq88517/code/SmartLabXBeeCore/#6b205ec8624b