1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

edited some ethernet ad wifi examples

This commit is contained in:
Fede85
2013-04-11 17:36:15 +02:00
parent afc9ad2663
commit 2e6023bc2a
11 changed files with 23 additions and 95 deletions

View File

@ -127,6 +127,7 @@ void connectToServer() {
// make HTTP GET request to twitter:
client.println("GET /1/statuses/user_timeline.xml?screen_name=arduino&count=1 HTTP/1.1");
client.println("HOST: api.twitter.com");
client.println("Connection: close");
client.println();
}
// note the time of this connect attempt: