ban4jp - / XBee_with_SPI

Dependents:   XBeeWiFi_SPI_example

Fork of XBee by Suga koubou

Revision:
9:e32c2e5390d3
Parent:
8:dd519c8ac6f7
Child:
10:eb70be6ceb6d
--- a/XBeeWiFi.h	Tue Dec 31 05:31:24 2013 +0000
+++ b/XBeeWiFi.h	Fri Jan 03 03:33:03 2014 +0000
@@ -105,7 +105,11 @@
  */
 class XBeeWiFi : public XBee {
 public:
+#ifdef XBEE_USE_UART
     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);
+#endif
 
     int setup (int security, const char *ssid, const char *pin);
     int setup (const char *ssid);