diff options
Diffstat (limited to 'libraries/Bridge/examples/HttpClient')
-rw-r--r-- | libraries/Bridge/examples/HttpClient/HttpClient.ino | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/libraries/Bridge/examples/HttpClient/HttpClient.ino b/libraries/Bridge/examples/HttpClient/HttpClient.ino deleted file mode 100644 index 4104ef4..0000000 --- a/libraries/Bridge/examples/HttpClient/HttpClient.ino +++ /dev/null @@ -1,26 +0,0 @@ - -#include <Bridge.h> -#include <HttpClient.h> - -void setup() { - pinMode(13, OUTPUT); - digitalWrite(13, LOW); - Bridge.begin(); - Serial.begin(9600); - while(!Serial); -} - -void loop() { - HttpClient client; - client.get("http://arduino.cc/asciilogo.txt"); - - while (client.available()) { - char c = client.read(); - Serial.print(c); - } - Serial.flush(); - - delay(5000); -} - - |