Add static IP config, prepare for web config support

This commit is contained in:
2024-01-26 16:34:37 -06:00
parent c6f8fdd9a2
commit 064bfbc346
5 changed files with 180 additions and 99 deletions

View File

@ -24,16 +24,21 @@
#define E131_H_
#include "Arduino.h"
#include "config.h"
/* Network interface detection. WiFi for ESP8266 and Ethernet for AVR */
//# include <WiFi.h>
#ifdef INT_WIFI
#include <WiFi.h>
#endif
//# include <WiFiMulti.h>
//# include <WiFiUdp.h>
# include <W5500lwIP.h>
#ifdef INT_ETHERNET
#include <W5500lwIP.h>
#endif
# include <lwip/ip_addr.h>
# include <lwip/igmp.h>
# define _UDP WiFiUDP
# define INT_ETHERNET
//# define INT_ETHERNET
#define NO_DOUBLE_BUFFER 1