diff options
author | Fede85 <f.vanzati@gmail.com> | 2013-09-06 15:38:07 +0200 |
---|---|---|
committer | Fede85 <f.vanzati@gmail.com> | 2013-09-06 15:38:07 +0200 |
commit | a3e2e68e2b7edb9f5434734bed4001df1e65451c (patch) | |
tree | d4ef938bd8179a15d41b19197c51ca0a7f93936f /libraries/Bridge/examples/HttpClient | |
parent | 35f10e412f5d00027f9d7f2036243c681dbec406 (diff) |
Bridge library to the 1.5 format
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); -} - - |