Hello guys,
My ESP 32 recieves LORA Data from a Arduino based wheather station.
It receives the DATA and sets up a websever to construct a Google chart.
Generally everything is working fine, but my question is to improve the data transfer between Google chart and C++ Program on the ESP.
The Google chart is running in HTML with Java Script as describes in Charts | Google Developers
Simplified: My Problem or question is:
How can I fill a variable in Javascript in my C++ program before calling the webserver to integrate it.
Currently I am reading out an array while im buiding the site, which is very time consuming.
My idea is to fill the needed js variable (var data = new google.visualization.DataTable()) offline in my C++ code.
Thank you very much.
Attached you can find my code.
Tyll
LORA_Reciever.ino (40.4 KB)