Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Xbee.cpp
- Revision:
- 12:8410a1f1df58
- Parent:
- 11:4e806bf0fb3d
- Child:
- 13:01e5b1744921
--- a/Xbee.cpp Sun Nov 22 03:07:30 2015 +0000 +++ b/Xbee.cpp Sun Nov 22 03:15:06 2015 +0000 @@ -16,6 +16,7 @@ { while(1) { + _xbee.putc('.') _xbee.puts(buffer); if(_xbee.getc() == '.') { @@ -30,6 +31,7 @@ { if(_xbee.readable()) { + if(_xbee.getc()=='.') _xbee.gets(buffer,sz); _xbee.putc('.'); break;