Search found 4 matches

by John09
Thu Mar 14, 2024 9:29 pm
Forum: ESP8266
Topic: Question about String
Replies: 6
Views: 3762

Re: Question about String

Would a good start be maybe to print some memory/cache/stack statistics on the server along with my usual text data that i print ? And then check how it changes over time ? It's a simple control system reading data from 6 sensors, controling a heater and a fan and running a server where it posts all...
by John09
Wed Mar 13, 2024 10:26 pm
Forum: ESP8266
Topic: Question about String
Replies: 6
Views: 3762

Re: Question about String

I am using String on all my systems though i would like to transition to safer option in time, but it will take quite a lot of code changes and testing. I have 2 systems running 24/7 and 1 of the systems will often have 7-15day runtime before restarting, while the other one often restarts after just...
by John09
Mon Mar 11, 2024 11:06 pm
Forum: ESP8266
Topic: Question about String
Replies: 6
Views: 3762

Question about String

Hello, i am using arduino ide to program an esp8266 wemos d1 mini. I know using String is generaly not adviced due to memory leakage but i have a simple question about it regardless. Let's say i have globably declared an array of strings: String payload2D[40]; Then in a loop i first init this array ...
by John09
Mon Jan 15, 2024 9:24 pm
Forum: ESP8266
Topic: esp8266 restarting
Replies: 1
Views: 19232

esp8266 restarting

I am running a couple of systems running esp8266. They all have the same backbone code as far as connecting to wifi, running server and otp. The problem i am having is that those systems all seem to restart occasionaly. I am trying to figure out why they restart. For instance, sometimes they will ru...