mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Corrected error in printWifiStatus
This commit is contained in:
@ -48,7 +48,8 @@ void loop() {
|
|||||||
void printWifiData() {
|
void printWifiData() {
|
||||||
// print your WiFi shield's IP address:
|
// print your WiFi shield's IP address:
|
||||||
IPAddress ip = WiFi.localIP();
|
IPAddress ip = WiFi.localIP();
|
||||||
Serial.print("IP Address: ");
|
Serial.print("IP Address: ");
|
||||||
|
Serial.println(ip);
|
||||||
Serial.println(ip);
|
Serial.println(ip);
|
||||||
|
|
||||||
// print your MAC address:
|
// print your MAC address:
|
||||||
|
@ -60,7 +60,8 @@ void loop() {
|
|||||||
void printWifiData() {
|
void printWifiData() {
|
||||||
// print your WiFi shield's IP address:
|
// print your WiFi shield's IP address:
|
||||||
IPAddress ip = WiFi.localIP();
|
IPAddress ip = WiFi.localIP();
|
||||||
Serial.print("IP Address: ");
|
Serial.print("IP Address: ");
|
||||||
|
Serial.println(ip);
|
||||||
Serial.println(ip);
|
Serial.println(ip);
|
||||||
|
|
||||||
// print your MAC address:
|
// print your MAC address:
|
||||||
|
@ -49,7 +49,8 @@ void loop() {
|
|||||||
void printWifiData() {
|
void printWifiData() {
|
||||||
// print your WiFi shield's IP address:
|
// print your WiFi shield's IP address:
|
||||||
IPAddress ip = WiFi.localIP();
|
IPAddress ip = WiFi.localIP();
|
||||||
Serial.print("IP Address: ");
|
Serial.print("IP Address: ");
|
||||||
|
Serial.println(ip);
|
||||||
Serial.println(ip);
|
Serial.println(ip);
|
||||||
|
|
||||||
// print your MAC address:
|
// print your MAC address:
|
||||||
|
@ -160,7 +160,8 @@ void printWifiStatus() {
|
|||||||
|
|
||||||
// print your WiFi shield's IP address:
|
// print your WiFi shield's IP address:
|
||||||
IPAddress ip = WiFi.localIP();
|
IPAddress ip = WiFi.localIP();
|
||||||
Serial.print("IP Address: ");
|
Serial.print("IP Address: ");
|
||||||
|
Serial.println(ip);
|
||||||
|
|
||||||
// print the received signal strength:
|
// print the received signal strength:
|
||||||
long rssi = WiFi.RSSI();
|
long rssi = WiFi.RSSI();
|
||||||
|
@ -132,7 +132,8 @@ void printWifiStatus() {
|
|||||||
|
|
||||||
// print your WiFi shield's IP address:
|
// print your WiFi shield's IP address:
|
||||||
IPAddress ip = WiFi.localIP();
|
IPAddress ip = WiFi.localIP();
|
||||||
Serial.print("IP Address: ");
|
Serial.print("IP Address: ");
|
||||||
|
Serial.println(ip);
|
||||||
|
|
||||||
// print the received signal strength:
|
// print the received signal strength:
|
||||||
long rssi = WiFi.RSSI();
|
long rssi = WiFi.RSSI();
|
||||||
|
@ -89,7 +89,8 @@ void printWifiStatus() {
|
|||||||
|
|
||||||
// print your WiFi shield's IP address:
|
// print your WiFi shield's IP address:
|
||||||
IPAddress ip = WiFi.localIP();
|
IPAddress ip = WiFi.localIP();
|
||||||
Serial.print("IP Address: ");
|
Serial.print("IP Address: ");
|
||||||
|
Serial.println(ip);
|
||||||
|
|
||||||
// print the received signal strength:
|
// print the received signal strength:
|
||||||
long rssi = WiFi.RSSI();
|
long rssi = WiFi.RSSI();
|
||||||
|
@ -103,7 +103,8 @@ void printWifiStatus() {
|
|||||||
|
|
||||||
// print your WiFi shield's IP address:
|
// print your WiFi shield's IP address:
|
||||||
IPAddress ip = WiFi.localIP();
|
IPAddress ip = WiFi.localIP();
|
||||||
Serial.print("IP Address: ");
|
Serial.print("IP Address: ");
|
||||||
|
Serial.println(ip);
|
||||||
|
|
||||||
// print the received signal strength:
|
// print the received signal strength:
|
||||||
long rssi = WiFi.RSSI();
|
long rssi = WiFi.RSSI();
|
||||||
|
Reference in New Issue
Block a user