Skip to content

Commit

Permalink
more example updates
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed Apr 3, 2016
1 parent 5a9d168 commit d23fe65
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ void connect() {
Serial.print("connecting...");
while (!client.connect("arduino", "try", "try")) {
Serial.print(".");
delay(1000);
}

Serial.println("\nconnected!");
Expand Down
2 changes: 1 addition & 1 deletion examples/AdafruitHuzzahESP8266/AdafruitHuzzahESP8266.ino
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void connect() {
Serial.print("checking wifi...");
while (WiFi.status() != WL_CONNECTED) {
Serial.print(".");
delay(500);
delay(1000);
}

Serial.print("\nconnecting...");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void connect() {
Serial.print("checking wifi...");
while (WiFi.status() != WL_CONNECTED) {
Serial.print(".");
delay(500);
delay(1000);
}

Serial.print("\nconnecting...");
Expand Down
2 changes: 1 addition & 1 deletion examples/ArduinoEthernetShield/ArduinoEthernetShield.ino
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <MQTTClient.h>

byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ip[] = { 192, 168, 1, 177 };
byte ip[] = { 192, 168, 1, 177 }; // <- change to match your network

EthernetClient net;
MQTTClient client;
Expand Down
2 changes: 1 addition & 1 deletion examples/ArduinoWiFi101/ArduinoWiFi101.ino
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void connect() {
Serial.print("checking wifi...");
while (WiFi.status() != WL_CONNECTED) {
Serial.print(".");
delay(500);
delay(1000);
}

Serial.print("\nconnecting...");
Expand Down
2 changes: 1 addition & 1 deletion examples/ArduinoWiFi101_SSL/ArduinoWiFi101_SSL.ino
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void connect() {
Serial.print("checking wifi...");
while (WiFi.status() != WL_CONNECTED) {
Serial.print(".");
delay(500);
delay(1000);
}

Serial.print("\nconnecting...");
Expand Down
2 changes: 1 addition & 1 deletion examples/ArduinoWiFiShield/ArduinoWiFiShield.ino
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void connect() {
Serial.print("checking wifi...");
while (WiFi.status() != WL_CONNECTED) {
Serial.print(".");
delay(500);
delay(1000);
}

Serial.print("\nconnecting...");
Expand Down
1 change: 1 addition & 0 deletions examples/ArduinoYun_MQTTClient/ArduinoYun_MQTTClient.ino
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ void connect() {
Serial.print("connecting...");
while (!client.connect("arduino", "try", "try")) {
Serial.print(".");
delay(1000);
}

Serial.println("\nconnected!");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void connect() {
Serial.print("connecting...");
while (!client.connect("arduino", "try", "try")) {
Serial.print(".");
delay(1000);
}

Serial.println("\nconnected!");
Expand Down

0 comments on commit d23fe65

Please sign in to comment.