Permalink
Browse files

Updating examples to include just WiFly and SPI

  • Loading branch information...
1 parent e507760 commit e0cf6426d181f3570f8da288b5a2a243a99e501c @bobbrez bobbrez committed Feb 23, 2012
@@ -22,15 +22,8 @@
*/
-#include <_Spi.h>
-#include <Configuration.h>
-#include <Debug.h>
-#include <ParsedStream.h>
-#include <SpiUart.h>
+#include <SPI.h>
#include <WiFly.h>
-#include <WiFlyClient.h>
-#include <WiFlyDevice.h>
-#include <WiFlyServer.h>
// The GPIO pins on the SPI UART that are connected to WiFly module pins
#define BIT_PIO9 0b00000001 // Hardware factory reset + auto-adhoc
@@ -9,15 +9,8 @@
*/
-#include <_Spi.h>
-#include <Configuration.h>
-#include <Debug.h>
-#include <ParsedStream.h>
-#include <SpiUart.h>
+#include <SPI.h>
#include <WiFly.h>
-#include <WiFlyClient.h>
-#include <WiFlyDevice.h>
-#include <WiFlyServer.h>
void setup() {
@@ -15,15 +15,8 @@
* Further changes here made by Chris Theberge to demo AdHoc mode.
*/
-#include <_Spi.h>
-#include <Configuration.h>
-#include <Debug.h>
-#include <ParsedStream.h>
-#include <SpiUart.h>
+#include <SPI.h>
#include <WiFly.h>
-#include <WiFlyClient.h>
-#include <WiFlyDevice.h>
-#include <WiFlyServer.h>
#include <SoftwareSerial.h>
SoftwareSerial mySerial( 5, 4); // used to access the XRF
@@ -13,15 +13,8 @@
* http://www.sparkfun.com
*/
-#include <_Spi.h>
-#include <Configuration.h>
-#include <Debug.h>
-#include <ParsedStream.h>
-#include <SpiUart.h>
+#include <SPI.h>
#include <WiFly.h>
-#include <WiFlyClient.h>
-#include <WiFlyDevice.h>
-#include <WiFlyServer.h>
#include "Credentials.h"
@@ -6,15 +6,8 @@
// https://github.com/jcrouchley/WiFly-Shield
// Built using Arduino IDE V0.22
-#include <_Spi.h>
-#include <Configuration.h>
-#include <Debug.h>
-#include <ParsedStream.h>
-#include <SpiUart.h>
+#include <SPI.h>
#include <WiFly.h>
-#include <WiFlyClient.h>
-#include <WiFlyDevice.h>
-#include <WiFlyServer.h>
// using NewSoftSerial V11 beta
// downloaded from here http://arduiniana.org/2011/01/newsoftserial-11-beta/
@@ -6,15 +6,8 @@
// https://github.com/jcrouchley/WiFly-Shield
// Built using Arduino IDE V0.22
-#include <_Spi.h>
-#include <Configuration.h>
-#include <Debug.h>
-#include <ParsedStream.h>
-#include <SpiUart.h>
+#include <SPI.h>
#include <WiFly.h>
-#include <WiFlyClient.h>
-#include <WiFlyDevice.h>
-#include <WiFlyServer.h>
// Wifly RN-XV (XBee shaped) module connected
// WiFly Tx to pin 0 (Arduino Rx)
@@ -1,15 +1,8 @@
// (Based on Ethernet's WebClient Example)
-#include <_Spi.h>
-#include <Configuration.h>
-#include <Debug.h>
-#include <ParsedStream.h>
-#include <SpiUart.h>
+#include <SPI.h>
#include <WiFly.h>
-#include <WiFlyClient.h>
-#include <WiFlyDevice.h>
-#include <WiFlyServer.h>
#include "Credentials.h"
@@ -1,15 +1,8 @@
// (Based on Ethernet's WebClient Example)
-#include <_Spi.h>
-#include <Configuration.h>
-#include <Debug.h>
-#include <ParsedStream.h>
-#include <SpiUart.h>
+#include <SPI.h>
#include <WiFly.h>
-#include <WiFlyClient.h>
-#include <WiFlyDevice.h>
-#include <WiFlyServer.h>
#include "Credentials.h"
@@ -6,15 +6,8 @@
* A simple web server that shows the value of the analog input pins.
*/
-#include <_Spi.h>
-#include <Configuration.h>
-#include <Debug.h>
-#include <ParsedStream.h>
-#include <SpiUart.h>
+#include <SPI.h>
#include <WiFly.h>
-#include <WiFlyClient.h>
-#include <WiFlyDevice.h>
-#include <WiFlyServer.h>
#include "Credentials.h"
@@ -11,15 +11,8 @@
*/
#include <X10.h>
#include <x10constants.h>
-#include <_Spi.h>
-#include <Configuration.h>
-#include <Debug.h>
-#include <ParsedStream.h>
-#include <SpiUart.h>
+#include <SPI.h>
#include <WiFly.h>
-#include <WiFlyClient.h>
-#include <WiFlyDevice.h>
-#include <WiFlyServer.h>
#include <string.h>
#include <stddef.h>

0 comments on commit e0cf642

Please sign in to comment.