Xbee API library with support SPI connection. (use only SPI supported model. see also http://www.digi.com/support/kbase/kbaseresultdetl?id=3362 )
Dependents: XBeeWiFi_SPI_example
Fork of XBee by
Diff: XBeeWiFi.h
- Revision:
- 10:eb70be6ceb6d
- Parent:
- 9:e32c2e5390d3
--- a/XBeeWiFi.h Fri Jan 03 03:33:03 2014 +0000 +++ b/XBeeWiFi.h Sat Jan 04 15:34:59 2014 +0000 @@ -105,7 +105,7 @@ */ class XBeeWiFi : public XBee { public: -#ifdef XBEE_USE_UART +#ifndef USE_XBEE_SPI XBeeWiFi (PinName p_tx, PinName p_rx, PinName p_cts, PinName p_rts); #else XBeeWiFi (PinName p_mosi, PinName p_miso, PinName p_sclk, PinName p_ssel, PinName p_attn, PinName p_reset);