Post topics, source code that relate to the Arduino Platform
User avatar
By PerlUser12
#75930 I have been trying to create a loop within an HTTP server for a garden irrigation system but when I try to run the code I either get a normal error or a stack error could anyone suggest any possible solutions?

stack error:
3fff0380: ffffffff 3ffeea18 3ffee9f4 40207100
3fff0390: 00000004 3ffeea18 3ffee9f4 4020530d
3fff03a0: 3fff168c 0000000f 00000001 3ffef468
3fff03b0: 00000000 3fffdad0 3ffef470 00000030
3fff03c0: 00000000 3fffdad0 3ffef470 00000030
3fff03d0: 00000000 3fffdad0 3ffef470 3fff1674
3fff03e0: 0000000f 00000000 3fff165c 0000000f
3fff03f0: 00000001 3fff180c 0000000f 00000003
3fff0400: 3fff17f4 0000000f 0000000e 402031c4
3fff0410: 3ffeea34 00000000 3ffef480 00000000
3fff0420: 00000001 402037b4 3fff1714 3ffef480
3fff0430: 00000000 00000000 3ffee9f4 3ffef470
3fff0440: 000001a3 3ffeea18 3ffee9f4 40204433
3fff0450: 3ffe8608 00000000 000003e8 4302a8c0
3fff0460: 00000000 3fff190c 3fff0448 feefeffe
3fff0470: 3fffdad0 00000000 3ffef468 40202094
3fff0480: 3fffdad0 00000000 3ffef468 402076f4
3fff0490: feefeffe feefeffe 3ffef480 40100718

Stack error decoded:
Decoding 8 results
0x40207100: String::String(String const&) at C:\Users\cat0005\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/WString.cpp line 519
0x4020530d: ESP8266WebServer::_parseRequest(WiFiClient&) at C:\Users\cat0005\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/Parsing.cpp line 123
0x402031c4: WiFiClient::~WiFiClient() at C:\Users\cat0005\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.cpp line 149
0x402037b4: FunctionRequestHandler::canHandle(HTTPMethod, String) at C:\Users\cat0005\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.cpp line 299
0x40204433: ESP8266WebServer::handleClient() at C:\Users\cat0005\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.cpp line 299
0x40202094: loop at C:\Users\cat0005\Downloads\Arduino\GPIO_webserver_for_Hbridge/GPIO_webserver_for_Hbridge.ino line 129
0x402076f4: loop_wrapper at C:\Users\cat0005\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/core_esp8266_main.cpp line 56
0x40100718: cont_norm at C:\Users\cat0005\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/cont.S line 109
User avatar
By rudy
#75931
PerlUser12 wrote:I have been trying to create a loop within an HTTP server ...
could anyone suggest any possible solutions?


This is incredibly vague. It might help if you post some code, and then explain what you want it to do.

A loop could be a clock that increments the time each second. Or you could have a screen with Space Invaders running on it. Or it could be running a jukebox and playing mp3 files from a SD card.
User avatar
By QuickFix
#75933
User avatar
By PerlUser12
#75957
rudy wrote:
PerlUser12 wrote:I have been trying to create a loop within an HTTP server ...
could anyone suggest any possible solutions?


This is incredibly vague. It might help if you post some code, and then explain what you want it to do.

A loop could be a clock that increments the time each second. Or you could have a screen with Space Invaders running on it. Or it could be running a jukebox and playing mp3 files from a SD card.


I have my code on my other post here is the link to it viewtopic.php?f=33&t=17608