# ### author: O.Artz ### #
# ### ### #
# ### ### #
-# ### UPDATE 2020-07-10 ### #
+# ### UPDATE 2020-07-15 ### #
# ### ### #
#####################################################
//load needed Libaries
#include <ETH.h>
-#include <WiFi.h>
+//#include <WiFi.h>
//how many clients should be able to telnet to this ESP32
#define MAX_SRV_CLIENTS 1
//visual status for telnet work
digitalWrite(2,LOW);
digitalWrite(15,HIGH);
- Serial.print(WiFi.status());
}
void loop()
{
uint8_t i;
- if (WiFi.status() == WL_CONNECTED) {
+ if (eth_connected == true) {
//check if there are any new clients
if (server.hasClient()) {
for(i = 0; i < MAX_SRV_CLIENTS; i++) {