Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating examples to include just WiFly and SPI

  • Loading branch information...
commit e0cf6426d181f3570f8da288b5a2a243a99e501c 1 parent e507760
@bobbrez bobbrez authored
View
9 examples/HardwareFactoryReset/HardwareFactoryReset.ino
@@ -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
View
9 examples/SpiUartTerminal/SpiUartTerminal.ino
@@ -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() {
View
9 examples/WiFly_AdHoc_Example/WiFly_AdHoc_Example.ino
@@ -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
View
9 examples/WiFly_Autoconnect_Terminal/WiFly_Autoconnect_Terminal.ino
@@ -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"
View
9 examples/WiFly_PachubeClient/WiFly_PachubeClient.ino
@@ -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/
View
9 examples/WiFly_PachubeClient_Ciseco/WiFly_PachubeClient_Ciseco.ino
@@ -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)
View
9 examples/WiFly_WebClient/WiFly_WebClient.ino
@@ -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"
View
9 examples/WiFly_WebClient_Faster/WiFly_WebClient_Faster.ino
@@ -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"
View
9 examples/WiFly_WebServer/WiFly_WebServer.ino
@@ -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"
View
9 examples/WiFly_WebServer_X10/WiFly_WebServer_X10.ino
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.