use different config switch pin D2, works now

This commit is contained in:
2019-04-26 12:32:36 +02:00
parent 98edabf84d
commit 6b7e6a0d7e
4 changed files with 7 additions and 7 deletions

View File

@ -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"

View File

@ -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("---");
} }

View File

@ -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