Current Lua downloadable firmware will be posted here

User avatar
By GeoNomad
#4674
alonewolfx2 wrote:
sancho wrote:I do not want to spam this thread :(
I tested the telnet from the wiki example and when I printed something using tmr.alarm, it printed nowhere.
Maybe I'll retry with the new firmware version.
Did someone update the lua uploader to work with telnet? If not, I can try...

I am developing lua console on the wifi. You can post in this link. Please continue with http://www.esp8266.com/viewtopic.php?f=22&t=707


When tmr.alarm doesn't do what I expect, I find that I have always entered it wrong.

tmr.alarm(0, 1000, 1, function() print("hello world") end )

not

tmr.alarm(0, 1000, 1, print("hello world") )

but I am totally new to Lua and these kinds of things are not intuitive to me...

If you use tmr.alarm inside a function to call itself after a delay using the second syntax, it will alarm immediately instead of waiting...
User avatar
By zeroday
#5189 Change log:
2014-12-19
    Important Re-arrange GPIO MAP due to development kit.

NEW GPIO MAP: https://github.com/nodemcu/nodemcu-firmware#new_gpio_map


    Add bitwise operation module.
    Modify net.socket:connect() api to accept domain name, auto DNS.
    Add firmware for flash size 1Mbytes, 2Mbytes, 4Mbytes.
User avatar
By sej7278
#5211 how do we upgrade this to use the 0.9.3 sdk?

i'm not sure if that offers us anything useful, but just seems to me we're at the mercy of one guy to provide updates as we don't have the source.