thank you . it workselmaya wrote: Sat Apr 17, 2021 9:15 amupdate WiFiManagermlynoza wrote: Sat Apr 17, 2021 8:47 am Hello.
I am doing program compilations and I have such errors. I thought something was wrong with my version of the program and tried on a different computer, but the effect is the same.
What is wrong ?
Code: Select all
In file included from C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/stdio.h:6:0, from C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/stdio.h:63, from C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/Arduino.h:32, from sketch\supla_8P_16B_Custom.ino.cpp:1: C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:25:130: error: 'const char HTTP_HEAD []' redeclared as different kind of symbol #define PROGMEM __attribute__((section( "\".irom.text." __FILE__ "." __STRINGIZE(__LINE__) "." __STRINGIZE(__COUNTER__) "\""))) ^ e:\arduino\libraries\WiFiManager-0.14/WiFiManager.h:25:24: note: in expansion of macro 'PROGMEM' const char HTTP_HEAD[] PROGMEM = "<!DOCTYPE html><html lang=\"en\"><head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\"/><title>{v}</title>"; ^ In file included from E:\arduino\projekty\supla_ROLETY\supla_8P_16B_Custom\supla_8P_16B_Custom.ino:10:0: C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:34:39: error: previous declaration of 'HTTPMethod HTTP_HEAD' enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS }; ^
Supla 16 X relay -- esp8266 + mcp23017
-
- Posts: 2
- Joined: Sat Apr 17, 2021 8:40 am
-
- Posts: 539
- Joined: Wed Dec 06, 2017 10:15 pm
- Location: Brodnica
Can soft be used to control roller shutters ? If so, I still have a question, how long can the wires be from mcp23017 to physical buttons ?
-
- Posts: 1484
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
@radzik_r has what you are looking for.miko1282 wrote: Tue Oct 19, 2021 11:27 am Can soft be used to control roller shutters ? If so, I still have a question, how long can the wires be from mcp23017 to physical buttons ?
viewtopic.php?f=24&t=6935
-
- Posts: 47
- Joined: Tue Jan 03, 2023 10:29 am
Hello Elmaya. I have a problem and a question at the same time. You created a sketch to support 16 relays via the mcp23017 expander. Would it be possible for you to adapt the sketch to support the AnalogTek AT8574D expander. I raised the problem here viewtopic.php?p=194786#p194786 but it has not been solved. Best regards
You do not have the required permissions to view the files attached to this post.