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.
Dependencies: mbed XBee mbed-rtos
examples/xbee_enddev02.cpp
- Committer:
- yamaguch
- Date:
- 2013-01-29
- Revision:
- 10:0cb575e57f9a
File content as of revision 10:0cb575e57f9a:
#include "XBee.h"
void xbee_enddev02() {
XBee xbee(p9, p10);
xbee.baud(115200);
xbee.init();
xbee.sendCommand("SM", 5);
xbee.sendCommand("WR");
xbee.sendCommand("SM");
xbee.sendCommand("SP");
xbee.sendCommand("SN");
xbee.sendCommand("ST");
while (xbee.receive())
xbee.dump();
}