Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit c372ae2

Browse files
authored
v1.5.1 to update to arduino.tips
### Releases v1.5.1 1. Change from `arduino.cc` to `arduino.tips` in HTTP examples 2. Add `lib_ldf_mode = chain+` in `platformio.ini`
1 parent 2bda19f commit c372ae2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/WebClient/WebClient.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#include "defines.h"
1313

14-
char server[] = "arduino.cc";
14+
char server[] = "arduino.tips";
1515

1616
// Initialize the Web client object
1717
EthernetClient client;
@@ -68,7 +68,7 @@ void setup()
6868
Serial.println(F("Connected to server"));
6969
// Make a HTTP request
7070
client.println(F("GET /asciilogo.txt HTTP/1.1"));
71-
client.println(F("Host: arduino.cc"));
71+
client.println(F("Host: arduino.tips"));
7272
client.println(F("Connection: close"));
7373
client.println();
7474
}

examples/WebClientRepeating/WebClientRepeating.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#include "defines.h"
1313

14-
char server[] = "arduino.cc";
14+
char server[] = "arduino.tips";
1515

1616
unsigned long lastConnectionTime = 0; // last time you connected to the server, in milliseconds
1717
const unsigned long postingInterval = 10000L; // delay between updates, in milliseconds
@@ -35,7 +35,7 @@ void httpRequest()
3535

3636
// send the HTTP PUT request
3737
client.println(F("GET /asciilogo.txt HTTP/1.1"));
38-
client.println(F("Host: arduino.cc"));
38+
client.println(F("Host: arduino.tips"));
3939
client.println(F("Connection: close"));
4040
client.println();
4141

0 commit comments

Comments
 (0)