Moderator: Mmiscool
Try the following example.
every 5 seconds the slider and textbox will be updated with the new value of x.
slider x, 1,100
textbox x
timer 5000, [tick]
wait
[tick]
x = x + 1
wait
http://esp8266basic.com
A BASIC interpreter for your ESP
Working now on Autodrop3d. A 3d printer with automatic part ejection system. https://autodrop3d.com
We established that my script - which didn't work for me - did work ok for you if you modified my standard gpio01 pin to the appropropriate D4 of your nodeMCU. I asked what the Dpin prefix was all about, and was told to look in forlottos nodeMCU beginners guide, where I found out that the Dpin prefix is specific to the nodeMCU.
So unless the intended generic tutorial was to become another nodeMCU specific tutorial, that was the end of that.. and evidently still remains so.
It needed somebody else to independently disprove or confirm the symptoms I was reporting on non-nodeMCU hardware, else it's just me whinging about something that doesn't affect anyone else.