mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-22 08:22:04 +03:00
Changes to integrate latest core updates to WiFly branch
This commit is contained in:
@ -6,10 +6,9 @@
|
||||
A simple server is setup to exchange data.
|
||||
|
||||
created 13 July 2010
|
||||
by Domenico La Fauci
|
||||
by dlf (Metodo2 srl)
|
||||
*/
|
||||
#include <WiFi.h>
|
||||
#include <IPAddress.h>
|
||||
|
||||
byte mac[6] = { 0 };
|
||||
IPAddress ip;
|
||||
@ -22,11 +21,11 @@ int status = WL_IDLE_STATUS;
|
||||
char ssidList[MAX_NUM_SSID][32] = { {0} };
|
||||
|
||||
|
||||
Server server(23);
|
||||
WiFiServer server(23);
|
||||
|
||||
void printIpData()
|
||||
{
|
||||
ip = WiFi.localIp();
|
||||
ip = WiFi.localIP();
|
||||
|
||||
Serial.print("IP: ");
|
||||
Serial.print(ip[3],10);Serial.print(".");
|
||||
|
Reference in New Issue
Block a user