Adduino IDE : Version: 2.2.1
Hello Everyone
Using Board Lilygo T-ETH-Lite ESP32 s3- W5500
#include <SPI.h>
#include <Ethernet.h> //version 2.0.2
byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
IPAddress ip(10, 0, 0, 177);
void setup() {
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
Ethernet.init(13); // also tried with 9
delay(2000);
Ethernet.begin(mac, ip);
if (Ethernet.hardwareStatus() == EthernetNoHardware) {
Serial.println("Ethernet shield was not found.");
}
else if (Ethernet.hardwareStatus() == EthernetW5100) {
Serial.println("W5100 Ethernet controller detected.");
}
else if (Ethernet.hardwareStatus() == EthernetW5200) {
Serial.println("W5200 Ethernet controller detected.");
}
else if (Ethernet.hardwareStatus() == EthernetW5500) {
Serial.println("W5500 Ethernet controller detected.");
}
}
Serial Monitor Says "Ethernet shield was not found."
Other demo projects which are given by board manufacturers use ETHClass.h and it works.
But I want to use Ethernet.h.
Any idea how to support?