Permalink
Browse files

Redoing the directory structure. Adding a .gitignore

  • Loading branch information...
1 parent d26f913 commit 9b9975c5fa7b1bdc5053a327bf1042bb243e5ba7 @bobbrez bobbrez committed Feb 19, 2012
Showing with 56 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. 0 {src → }/WiFly/Configuration.h
  3. 0 {src → }/WiFly/Debug.h
  4. 0 {src → }/WiFly/LICENSE.txt
  5. 0 {src → }/WiFly/ParsedStream.cpp
  6. 0 {src → }/WiFly/ParsedStream.h
  7. 0 {src → }/WiFly/README.txt
  8. 0 {src → }/WiFly/SpiUart.cpp
  9. 0 {src → }/WiFly/SpiUart.h
  10. 0 {src → }/WiFly/TODO.txt
  11. 0 {src → }/WiFly/WiFly.h
  12. 0 {src → }/WiFly/WiFlyClient.cpp
  13. 0 {src → }/WiFly/WiFlyClient.h
  14. 0 {src → }/WiFly/WiFlyDevice.cpp
  15. 0 {src → }/WiFly/WiFlyDevice.h
  16. 0 {src → }/WiFly/WiFlyServer.cpp
  17. 0 {src → }/WiFly/WiFlyServer.h
  18. 0 {src → }/WiFly/_Spi.cpp
  19. 0 {src → }/WiFly/_Spi.h
  20. 0 {src/WiFly/examples/tools → examples}/HardwareFactoryReset/HardwareFactoryReset.ino
  21. +54 −0 examples/SpiUartTerminal/SpiUartTerminal.ino
  22. 0 {src/WiFly → }/examples/WiFly_AdHoc_Example/WiFly_AdHoc_Example.ino
  23. 0 {src/WiFly → }/examples/WiFly_Autoconnect_Terminal/Credentials.h
  24. 0 {src/WiFly → }/examples/WiFly_Autoconnect_Terminal/WiFly_Autoconnect_Terminal.ino
  25. 0 {src/WiFly → }/examples/WiFly_PachubeClient/Credentials.h
  26. 0 {src/WiFly → }/examples/WiFly_PachubeClient/WiFly_PachubeClient.ino
  27. 0 {src/WiFly → }/examples/WiFly_PachubeClient_Ciseco/Credentials.h
  28. BIN {src/WiFly → }/examples/WiFly_PachubeClient_Ciseco/Sending readings to Pachube using the RN.docx
  29. 0 {src/WiFly → }/examples/WiFly_PachubeClient_Ciseco/WiFly_PachubeClient_Ciseco.ino
  30. 0 {src/WiFly → }/examples/WiFly_WebClient/Credentials.h
  31. 0 {src/WiFly → }/examples/WiFly_WebClient/WiFly_WebClient.ino
  32. 0 {src/WiFly → }/examples/WiFly_WebClient_Faster/Credentials.h
  33. 0 {src/WiFly → }/examples/WiFly_WebClient_Faster/WiFly_WebClient_Faster.ino
  34. 0 {src/WiFly → }/examples/WiFly_WebServer/Credentials.h
  35. 0 {src/WiFly → }/examples/WiFly_WebServer/WiFly_WebServer.ino
  36. 0 {src/WiFly → }/examples/WiFly_WebServer_X10/Credentials.h
  37. 0 {src/WiFly → }/examples/WiFly_WebServer_X10/README.txt
  38. 0 {src/WiFly → }/examples/WiFly_WebServer_X10/WiFly_WebServer_X10.ino
  39. +1 −1 {src/WiFly → }/examples/tools/SpiUartTerminal/SpiUartTerminal.ino
View
@@ -0,0 +1 @@
+.DS_Store
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,54 @@
+/*
+
+ SpiUartTerminal - tool to help troubleshoot problems with WiFly shield
+
+ This code will initialise and test the SC16IS750 UART-SPI bridge then enable you
+ to send commands to the WiFly module.
+
+ Copyright (c) 2010 SparkFun Electronics. http://sparkfun.com LGPL 3.0
+
+ */
+
+#include "../../WiFly/WiFly.h" // We use this for the preinstantiated SpiSerial object.
+
+
+void setup() {
+
+ Serial.begin(9600);
+ Serial.println("SPI UART on WiFly Shield terminal tool");
+ Serial.println("--------------------------------------");
+ Serial.println();
+ Serial.println("This is a tool to help you troubleshoot problems with the WiFly shield.");
+ Serial.println("For consistent results unplug & replug power to your Arduino and WiFly shield.");
+ Serial.println("(Ensure the serial monitor is not open when you remove power.)");
+ Serial.println();
+
+ Serial.println("Attempting to connect to SPI UART...");
+ SpiSerial.begin();
+ Serial.println("Connected to SPI UART.");
+ Serial.println();
+
+ Serial.println(" * Use $$$ (with no line ending) to enter WiFly command mode. (\"CMD\")");
+ Serial.println(" * Then send each command followed by a carriage return.");
+ Serial.println();
+
+ Serial.println("Waiting for input.");
+ Serial.println();
+
+}
+
+
+void loop() {
+ // Terminal routine
+
+ // Always display a response uninterrupted by typing
+ // but note that this makes the terminal unresponsive
+ // while a response is being received.
+ while(SpiSerial.available() > 0) {
+ Serial.write(SpiSerial.read());
+ }
+
+ if(Serial.available()) { // Outgoing data
+ SpiSerial.write(Serial.read());
+ }
+}
@@ -9,7 +9,7 @@
*/
-#include "WiFly.h" // We use this for the preinstantiated SpiSerial object.
+#include "WiFly/WiFly.h" // We use this for the preinstantiated SpiSerial object.
void setup() {

0 comments on commit 9b9975c

Please sign in to comment.