This is an experimental driver for the XBee 900 HP pro module's SPI connection. This driver is unfinished and stability is not guaranteed. Use with caution.
Dependents: Sentinel_BASE Sentinel_NODE
Diff: xbee900hp.cpp
- Revision:
- 8:fa84dacc45b9
- Parent:
- 7:3cb67634fa4e
- Child:
- 9:d4542525b218
--- a/xbee900hp.cpp Thu Apr 07 18:09:59 2016 +0000 +++ b/xbee900hp.cpp Wed Apr 27 01:19:54 2016 +0000 @@ -1,8 +1,5 @@ #include "xbee900hp.h" -/** -* Initialize the xBee Module -*/ xbee900hp::xbee900hp(PinName pin_mosi,PinName pin_miso,PinName pin_sck,PinName pin_attn, PinName pin_rst, unsigned int freq) : _pin_rst(pin_rst), _pin_attn(pin_attn), _xbeespi(pin_mosi,pin_miso,pin_sck) { // Set proper spi transfer mode format.