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.h
- Revision:
- 2:33462c1e9f45
- Parent:
- 0:633baa9653b0
- Child:
- 5:d14636b861ff
diff -r e44c66cd2de6 -r 33462c1e9f45 Xbee.h
--- a/Xbee.h Sun Nov 22 01:11:42 2015 +0000
+++ b/Xbee.h Sun Nov 22 01:24:23 2015 +0000
@@ -5,7 +5,7 @@
{
public:
// Use p9 and p10 as default serial pins
- Xbee(PinName tx = p9, PinName rx = p10):_xbee(tx,rx){}
+ Xbee(PinName tx = p9, PinName rx = p10, PinName rst = p11);
// Send buffer
void Send(const char*);
@@ -15,4 +15,5 @@
private:
Serial _xbee;
+ DigitalOut _rst;
};
\ No newline at end of file