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.
Fork of XBee by
Diff: XBee.h
- Revision:
- 3:8573b122fa84
- Parent:
- 1:e3b2027e685c
- Child:
- 4:f6d73acc1f75
--- a/XBee.h Fri Jul 29 16:22:15 2011 +0000
+++ b/XBee.h Thu Mar 08 17:41:29 2012 +0000
@@ -21,6 +21,10 @@
* along with XBee-Arduino. If not, see <http://www.gnu.org/licenses/>.
*/
+/** @file
+ * @brief XBee library for mbed
+ */
+
#ifndef XBee_h
#define XBee_h
@@ -673,6 +677,7 @@
class XBee {
public:
XBee(PinName p_tx, PinName p_rx);
+ XBee(PinName p_tx, PinName p_rx, PinName p_cts);
// for eclipse dev only
// void setSerial(HardwareSerial serial);
/**
@@ -732,6 +737,7 @@
// buffer for incoming RX packets. holds only the api specific frame data, starting after the api id byte and prior to checksum
uint8_t _responseFrameData[MAX_FRAME_DATA_SIZE];
Serial _xbee;
+ DigitalIn *_cts;
};
/**
