Basics of displaying dynamic variables on browser?
Posted: Tue May 03, 2016 11:06 am
I have recently downloaded the latest release, version 2.0 of ESP Basic.
My aim is to build a sort of form page to display setting parameters of a device that is serially connected to ESP-8266 module; browse as well as set parameters through WiFi connection.
"Serial2" connection works fine, reliable, for both send and receive. Also "timer" function works very fine. However, I could not manage to refresh the variables on the form, on browser's screen from the values received via Serial2 connection .
So what is the basics, or underlying mechanism of updating or refreshing a variable on browser actually?
( when we stay with the scope of ESP Basic )
The language reference is good, but I think it is lacking in code examples.
My aim is to build a sort of form page to display setting parameters of a device that is serially connected to ESP-8266 module; browse as well as set parameters through WiFi connection.
"Serial2" connection works fine, reliable, for both send and receive. Also "timer" function works very fine. However, I could not manage to refresh the variables on the form, on browser's screen from the values received via Serial2 connection .
So what is the basics, or underlying mechanism of updating or refreshing a variable on browser actually?
( when we stay with the scope of ESP Basic )
The language reference is good, but I think it is lacking in code examples.