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

Commit ed39a5c

Browse files
authored
v1.4.1 to update to arduino.tips
### Releases v1.4.1 1. Change from `arduino.cc` to `arduino.tips` in examples
1 parent 4341041 commit ed39a5c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

examples/HTTPClient/SimpleHTTPExample/SimpleHTTPExample.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
// This example downloads the URL "http://arduino.cc/"
1919
// Name of the server we want to connect to
20-
const char kHostname[] = "arduino.cc";
20+
const char kHostname[] = "arduino.tips";
2121

2222
// Path to download (this is the bit after the hostname in the URL
2323
// that you want to download

examples/HTTPClient/SimpleHTTPExample/defines.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
// If USE_BUILTIN_ETHERNET == false and USE_UIP_ETHERNET == false =>
2828
// either use W5x00 with EthernetXYZ library
2929
// or ENC28J60 with EthernetENC library
30-
//#define USE_BUILTIN_ETHERNET true
31-
#define USE_BUILTIN_ETHERNET false
30+
#define USE_BUILTIN_ETHERNET true
31+
//#define USE_BUILTIN_ETHERNET false
3232

3333
//#define USE_UIP_ETHERNET true
3434
#define USE_UIP_ETHERNET false

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)