use different config switch pin D2, works now
This commit is contained in:
@ -16,5 +16,5 @@ configItems = [
|
|||||||
{"label":"DebugMode", "key":"debugMode", "type":"I", "default":0}
|
{"label":"DebugMode", "key":"debugMode", "type":"I", "default":0}
|
||||||
]
|
]
|
||||||
|
|
||||||
magic = 0xC0DE0005
|
magic = 3235774470
|
||||||
appName = "ESP8266 based TwoLedSignal"
|
appName = "ESP8266 based RGB-LED-Light"
|
||||||
|
@ -51,10 +51,10 @@ void configServeIndex() {
|
|||||||
"<!doctype html"
|
"<!doctype html"
|
||||||
"<html lang=\"en\">"
|
"<html lang=\"en\">"
|
||||||
" <head>"
|
" <head>"
|
||||||
" <title>ESP8266 based TwoLedSignal</title>"
|
" <title>ESP8266 based RGB-LED-Light</title>"
|
||||||
" </head>"
|
" </head>"
|
||||||
" <body>"
|
" <body>"
|
||||||
" <h1>ESP8266 based TwoLedSignal - ESP8266 Configuration Page</h1>";
|
" <h1>ESP8266 based RGB-LED-Light - ESP8266 Configuration Page</h1>";
|
||||||
|
|
||||||
if (configSaved) {
|
if (configSaved) {
|
||||||
configSaved = false;
|
configSaved = false;
|
||||||
@ -386,4 +386,4 @@ void showConfiguration() {
|
|||||||
|
|
||||||
|
|
||||||
Serial.println("---");
|
Serial.println("---");
|
||||||
}
|
}
|
@ -25,7 +25,7 @@
|
|||||||
#define CONFIG_SWITCH 0 // Arduino numbering
|
#define CONFIG_SWITCH 0 // Arduino numbering
|
||||||
#endif
|
#endif
|
||||||
#ifdef NODEMCU
|
#ifdef NODEMCU
|
||||||
#define CONFIG_SWITCH D4
|
#define CONFIG_SWITCH D2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WS2811
|
#ifdef WS2811
|
||||||
|
Submodule esp8266boilerplate updated: c9073c1b7d...2441590cb8
Reference in New Issue
Block a user