Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 3fb93a1

Browse files
authored
v1.3.0
### Releases v1.3.0 1. Add WebServer feature to serve from LittleFS/SPIFFS for ESP32/ESP8266 with examples. Check [**streamFile and serveStatic for ESP8266/ESP32 boards #22**](#22) 2. Add examples [**serveStatic**](https://github.com./khoih-prog/EthernetWebServer/tree/master/examples/serveStatic) and [**serveStaticLoadFile**](https://github.com./khoih-prog/EthernetWebServer/tree/master/examples/serveStaticLoadFile) to use new `serveStatic()`feature 3. Add examples [**ESP32_FS_EthernetWebServer**](https://github.com./khoih-prog/EthernetWebServer/tree/master/examples/ESP32_FS_EthernetWebServer) and [**FS_EthernetWebServer**](https://github.com./khoih-prog/EthernetWebServer/tree/master/examples/FS_EthernetWebServer) to use new `serveStatic()`feature
1 parent c8bf8fe commit 3fb93a1

27 files changed

+1667
-15
lines changed

examples/AdvancedWebServer/defines.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,10 @@
274274
//#define USE_THIS_SS_PIN 22 //21 //5 //4 //2 //15
275275

276276
// Only one if the following to be true
277-
#define USE_ETHERNET true
277+
#define USE_ETHERNET false
278278
#define USE_ETHERNET2 false
279279
#define USE_ETHERNET3 false
280-
#define USE_ETHERNET_LARGE false
280+
#define USE_ETHERNET_LARGE true
281281
#define USE_ETHERNET_ESP8266 false
282282
#define USE_ETHERNET_ENC false
283283
#define USE_CUSTOM_ETHERNET false

examples/AdvancedWebServer_NativeEthernet/AdvancedWebServer_NativeEthernet.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ void setup(void)
286286
// Use DHCP dynamic IP and random mac
287287
uint16_t index = millis() % NUMBER_OF_MAC;
288288
// Use Static IP
289-
//Ethernet.begin(mac[index], ip);
290-
Ethernet.begin(mac[index]);
289+
Ethernet.begin(mac[index], ip);
290+
//Ethernet.begin(mac[index]);
291291

292292
// Just info to know how to connect correctly
293293
Serial.println(F("========================="));

0 commit comments

Comments
 (0)