-->
Page 37 of 53

Re: NodeMcu - A lua based firmware for esp8266 (build 20141

PostPosted: Thu Nov 20, 2014 2:53 am
by zeroday
A new build 20141120 released
fix tmr.delay()
add tmr.wdclr()
fix UDP part of net module
add a timeout para to createServer(net.TCP, timeout).

tmr.wdclr() or long time tmr.delay() will cause beacon time out, loss connection to AP.
use it with caution.

Re: NodeMcu - A lua based firmware for esp8266 (build 20141

PostPosted: Thu Nov 20, 2014 6:06 am
by scargill
Let me be the first to say "WELL DONE" - I got up this morning (UK based) and noted the update before I read this blog. The timer works (2 seconds) and I can reload files without error. Finally I can start looking at the various functions without the thing falling over. I'll write a blog item later this morning over at http://scargill.wordpress.com for those looking in (and there are quite a few).

I do have a couple of questions. Bear with me as this might sound dumb..

Let's say we have a file which has a function definition in it... and that gets called at power up as I do.. It I then delete the file and over-write it and call it again - does the existing stored function get over-written or do we need to reboot. As you can imagine, while developing functions there are going to be continual errors along the way.

I could see some serious uses for this - I just hope there is enough memory to store a decent amount of code in the unit.

Suggestion for you - the ESP-01 has at best 2 wires to play with - it would be really nice if one could read the likes of the Dallas 1-wire temperature chips on one of them. In the simplest case that opens the possibility of WIFI controlled temperature control (Dallas chip and a relay) using the ESP-01 and no host processor - wouldn't that be good.

Regards

Pete.

Re: NodeMcu - A lua based firmware for esp8266 (build 20141

PostPosted: Thu Nov 20, 2014 6:08 am
by scargill
One request for your next release, is there any chance of getting rid of the rubbish characters when the unit first switches on??

‡‡Žþ‡ó
Pete's LUA module 0.1
NodeMcu 0.9.2 build 20141120 powered by Lua 5.1.4
>

Re: NodeMcu - A lua based firmware for esp8266 (build 20141

PostPosted: Thu Nov 20, 2014 6:31 am
by cendev
i'm pretty sure both answers are gonne be no :) if you remove a file, the stored function will remain until rebooting, and for the second question, since these random chars are sent during the bootloader stage i'm again pretty sure firmware will not be able to handle this situation :/

edit : if you have a strong trust with your soldering skills, you can try soldering the gpio 16, 15 from the esp chip to a homemade board :) with resistors, there won't be an overcurrent problem and you may have more gpio's :) i did it and they work :) you can have further information about pinout on the wiki's chip page :)