Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By xtal
#39967 Some TidBits of info . I have tried the same Arduino/esp code on 4 Browsers
I issue 3 writes to browser for my page,,,,,, The page indirectly refreshes [8 seconds] by Javascript clicking a button which
causes my 3 writes Top 1/3 middle 1/3 bottom 1/3...
Chrome, Saphire, Firefox all flicker on 2nd and 3rd write, IE shows no flicker ....[ Thats a surprise ]
With my Arduino code I click Baud button to change the baud which pretty much occurs immediately...
The baud displays in top 1/3 and bottom 1/3 at same time......

Now when I try this code written for NodeMCU [LUA] which I use 5 writes the browsers act the same , HOWEVER,
Clicking Baud The bottom 1/5 updates baud immediately, the top 1/5 updates after the upcoming refresh

I havn't figured that out yet.... also I show 20k-22k heap , but if I add "Refresh=" to the top 1/5 display
I get the wonderful NOT ENOUGH MEMORY .... I just love LUA


Also need to check on previous meta refresh not working on Chrome when returning proper header. That's
why the java script button click....