Skip to content

Commit 18d0668

Browse files
committed
Merge pull request adafruit#67 from tdicola/connecting_message
Add connecting message to examples which will need it after integrating debug logging change.
2 parents 2741afb + 50477bb commit 18d0668

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

examples/ChatServer/ChatServer.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ void setup(void)
104104
while(1);
105105
}
106106

107+
Serial.print(F("\nAttempting to connect to ")); Serial.println(WLAN_SSID);
107108
if (!cc3000.connectToAP(WLAN_SSID, WLAN_PASS, WLAN_SECURITY)) {
108109
Serial.println(F("Failed!"));
109110
while(1);

examples/EchoServer/EchoServer.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ void setup(void)
110110
while(1);
111111
}
112112

113+
Serial.print(F("\nAttempting to connect to ")); Serial.println(WLAN_SSID);
113114
if (!cc3000.connectToAP(WLAN_SSID, WLAN_PASS, WLAN_SECURITY)) {
114115
Serial.println(F("Failed!"));
115116
while(1);

examples/WebClient/WebClient.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ void setup(void)
8282
// Optional SSID scan
8383
// listSSIDResults();
8484

85+
Serial.print(F("\nAttempting to connect to ")); Serial.println(WLAN_SSID);
8586
if (!cc3000.connectToAP(WLAN_SSID, WLAN_PASS, WLAN_SECURITY)) {
8687
Serial.println(F("Failed!"));
8788
while(1);

0 commit comments

Comments
 (0)