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

Commit

Permalink
v1.3.0
Browse files Browse the repository at this point in the history
### 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
  • Loading branch information
khoih-prog authored Jan 28, 2021
1 parent c8bf8fe commit 3fb93a1
Show file tree
Hide file tree
Showing 27 changed files with 1,667 additions and 15 deletions.
4 changes: 2 additions & 2 deletions examples/AdvancedWebServer/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,10 @@
//#define USE_THIS_SS_PIN 22 //21 //5 //4 //2 //15

// Only one if the following to be true
#define USE_ETHERNET true
#define USE_ETHERNET false
#define USE_ETHERNET2 false
#define USE_ETHERNET3 false
#define USE_ETHERNET_LARGE false
#define USE_ETHERNET_LARGE true
#define USE_ETHERNET_ESP8266 false
#define USE_ETHERNET_ENC false
#define USE_CUSTOM_ETHERNET false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ void setup(void)
// Use DHCP dynamic IP and random mac
uint16_t index = millis() % NUMBER_OF_MAC;
// Use Static IP
//Ethernet.begin(mac[index], ip);
Ethernet.begin(mac[index]);
Ethernet.begin(mac[index], ip);
//Ethernet.begin(mac[index]);

// Just info to know how to connect correctly
Serial.println(F("========================="));
Expand Down
Loading

0 comments on commit 3fb93a1

Please sign in to comment.