mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Changed names of the Ethernet classes: Client -> EthernetClient, NetClient -> Client, and basic testing performed
This commit is contained in:
@ -30,7 +30,7 @@ byte mac[] = {
|
||||
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
|
||||
|
||||
// initialize the library instance:
|
||||
Client client;
|
||||
EthernetClient client;
|
||||
|
||||
long lastConnectionTime = 0; // last time you connected to the server, in milliseconds
|
||||
boolean lastConnected = false; // state of the connection last time through the main loop
|
||||
|
Reference in New Issue
Block a user