I found a STRONE where you can build your firmware for the ESP.
What should be in the firmware for my target to come up with this minimum?
What should be in the firmware for my target to come up with this minimum?
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tampiotr411 wrote:WhatSensor = "rainfall" Why this when you have the sensor name already here: Sensor = (Ip0 .. "1")
Don't use string variables !!!!!!!!, replace them with numbers.
piotr411 wrote:You can use local variables, and put each sensor in a different file, each successive file will refer to the next one and add the sensor data to one file, the usual file and string operations.
Then you have at your disposal not 20kb, but the whole 4MB that are in the ESP 12E.
piotr411 wrote:finally, you take the data from the files where you added the results and process it for yourself.
piotr411 wrote:Why I wrote that getting rid of the AVR will make the whole project a lot easier.
uzi18 wrote:I can only sit at it later tonight
uzi18 wrote:The line that gets esp ends with CR or CR+LF?
uzi18 wrote:Something more about your weatherman can you write?
uzi18 wrote:Ladies and gentlemen, how much work must be done on such a powerful proc in lua to make the code work ... and do something more than 1 measurement.
Probably it is actually better to rewrite it on C and have peace of mind.
piotr411 wrote:The author does not understand the meaning of optimisation.
piotr411 wrote:The topic is about string operations and that is already a closed topic.
piotr411 wrote:In time, it became apparent that I needed help writing the whole application, and that's a different topic.
piotr411 wrote:I suggested moving parts of the program to separate files and using local variables. 4MB of Flash is plenty of memory for hundreds of files, 20kb of RAM is also completely sufficient,
piotr411 wrote:Atmega8 is slowerAtmega8 has 10 times less is 16 times slower, and you can write large applications.
piotr411 wrote:Another issue is, nagging after each of my deletions, exactly unnecessary text variables, and those saved as global. Not breaking variables, not once in the program did I find NIL.
piotr411 wrote:It is possible to help, but not to write entire applications. Yes it is possible, but for a fee.
piotr411 wrote:If I see some willingness to write an app then I can help, but I won't write whole sections or even an entire app for someone.
uzi18 wrote:piterek-23: just confirm to me if the data comes in the format as I specified? char(10) is LF, it can stay that way.
Quote:"a:10.0"
"a:10.0 "
":10"
"10"
Dim zmienna As String * 3 zmienna={} czujnik1=NILJakiSensor={"rainfall","speed","wind","temp","temp","temp","temp","temp","temp","temp","humid","vcc","vcc","vcc","ppm","uv","lux","storm","lightning","press"}
Sensor={"01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20"}
piotr411 wrote:Forget something like that, it won't work:
JakSensor={"rainfall", "speed", "wind", "temp", "temp", "temp", "temp", "temp", "temp", "temp", "humid", "vcc", "vcc", "vcc", "ppm", "uv", "lux", "storm", "lightning", "press"}
Sensor={"01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20"}