In the boiler plate script for API mode, is it okay to change Ethernet.h to Ethernet2.h and EthernetUdp.h to EthernetUdp2.h in the include statements below to accommodate a w5500 series Ethernet shield instead of a w5100?
HTML Code:
//************Do not change anything after Here***************** #define ISIP 1 #define BoardType 1 const byte BoardAdd = 1; #include <EEPROM.h> #if BoardType == 3 #include <ESP8266WiFi.h> #include <WiFiUdp.h> #include <ESP8266mDNS.h> #include <ArduinoOTA.h> char ssid[] = "TALKTALK-C94ECC"; char pass[] = "YNH9EXWA"; #else #include <SPI.h> #include <Ethernet.h> #include <EthernetUdp.h> #endif
Comment