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

Commit 362fc46

Browse files
authored
v1.0.1 to fix bug in examples
### Release v1.0.1 1. Fix bug in examples
1 parent c5640fb commit 362fc46

File tree

7 files changed

+6
-40
lines changed

7 files changed

+6
-40
lines changed

examples/AsyncCustomHeader/AsyncCustomHeader.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,6 @@ void printWifiStatus()
8282
IPAddress ip = WiFi.localIP();
8383
Serial.print("Local IP Address: ");
8484
Serial.println(ip);
85-
86-
// print the received signal strength:
87-
long rssi = WiFi.RSSI();
88-
Serial.print("signal strength (RSSI):");
89-
Serial.print(rssi);
90-
Serial.println(" dBm");
9185
}
9286

9387
void setup()

examples/AsyncDweetGet/AsyncDweetGet.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,6 @@ void printWifiStatus()
130130
IPAddress ip = WiFi.localIP();
131131
Serial.print("Local IP Address: ");
132132
Serial.println(ip);
133-
134-
// print the received signal strength:
135-
long rssi = WiFi.RSSI();
136-
Serial.print("signal strength (RSSI):");
137-
Serial.print(rssi);
138-
Serial.println(" dBm");
139133
}
140134

141135
void setup()

examples/AsyncDweetPost/AsyncDweetPost.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,6 @@ void printWifiStatus()
129129
IPAddress ip = WiFi.localIP();
130130
Serial.print("Local IP Address: ");
131131
Serial.println(ip);
132-
133-
// print the received signal strength:
134-
long rssi = WiFi.RSSI();
135-
Serial.print("signal strength (RSSI):");
136-
Serial.print(rssi);
137-
Serial.println(" dBm");
138132
}
139133

140134
void setup()

examples/AsyncHTTPRequest/AsyncHTTPRequest.ino

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,12 @@ void printWifiStatus()
102102
IPAddress ip = WiFi.localIP();
103103
Serial.print("Local IP Address: ");
104104
Serial.println(ip);
105-
106-
// print the received signal strength:
107-
long rssi = WiFi.RSSI();
108-
Serial.print("signal strength (RSSI):");
109-
Serial.print(rssi);
110-
Serial.println(" dBm");
111105
}
112106

113107
void setup()
114108
{
115109
Serial.begin(115200);
116-
while (!Serial);
110+
while (!Serial && millis() < 5000);
117111

118112
Serial.print("\nStart AsyncHTTPRequest on "); Serial.println(BOARD_NAME);
119113
Serial.println(ASYNCTCP_RP2040W_VERSION);

examples/AsyncHTTPRequest/defines.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
#error For RASPBERRY_PI_PICO_W only
2525
#endif
2626

27-
char ssid[] = "your_ssid"; // your network SSID (name)
28-
char pass[] = "12345678"; // your network password (use for WPA, or use as key for WEP), length must be 8+
27+
char ssid[] = "HueNet1"; // your network SSID (name)
28+
char pass[] = "jenniqqs"; // your network password (use for WPA, or use as key for WEP), length must be 8+
29+
//char ssid[] = "your_ssid"; // your network SSID (name)
30+
//char pass[] = "12345678"; // your network password (use for WPA, or use as key for WEP), length must be 8+
2931

3032
#endif //defines_h

examples/AsyncSimpleGET/AsyncSimpleGET.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,6 @@ void printWifiStatus()
8080
IPAddress ip = WiFi.localIP();
8181
Serial.print("Local IP Address: ");
8282
Serial.println(ip);
83-
84-
// print the received signal strength:
85-
long rssi = WiFi.RSSI();
86-
Serial.print("signal strength (RSSI):");
87-
Serial.print(rssi);
88-
Serial.println(" dBm");
8983
}
9084

9185
void setup()

examples/AsyncWebClientRepeating/AsyncWebClientRepeating.ino

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define ASYNC_HTTP_REQUEST_RP2040W_VERSION_MIN 1000000
2323

2424
// Select a test server address
25-
const char GET_ServerAddress[] = "arduino.cc";
25+
const char GET_ServerAddress[] = "arduino.tips";
2626

2727
// GET location
2828
String GET_Location = "/asciilogo.txt";
@@ -82,12 +82,6 @@ void printWifiStatus()
8282
IPAddress ip = WiFi.localIP();
8383
Serial.print("Local IP Address: ");
8484
Serial.println(ip);
85-
86-
// print the received signal strength:
87-
long rssi = WiFi.RSSI();
88-
Serial.print("signal strength (RSSI):");
89-
Serial.print(rssi);
90-
Serial.println(" dBm");
9185
}
9286

9387
void setup()

0 commit comments

Comments
 (0)