-->
Page 4 of 26

Re: [NodeMcu] Change log (build 20141208)

PostPosted: Mon Dec 08, 2014 7:45 am
by zeroday
Change log:
2014-12-08
add uart.setup(), uart.write() api.

close echo in uart.setup()

Re: [NodeMcu] Change log (build 20141207)

PostPosted: Mon Dec 08, 2014 9:55 am
by GeoNomad
zeroday wrote:Build 20141207

    4, modify gpio.mode() api, add internal pullup/float para.


Thank you for this. It's like having you guys on staff.

It is important to note that the default has changed from pullup to float. This will cause some hardware to not function if they update the firmware without paying attention to the new default.

Re: [NodeMcu] Change log (build 20141208)

PostPosted: Mon Dec 08, 2014 9:57 am
by GeoNomad
zeroday wrote:Change log:
2014-12-08
add uart.setup(), uart.write() api.

close echo in uart.setup()


Fantastic and so useful:

Code: Select allfunction monitor( pin )
   uart.write( 0, ''..gpio.read(pin) )
   end

gpio.mode(9,gpio.INPUT,gpio.PULLUP)
tmr.alarm( 50,1,function() monitor(9) end )



Morse Decoder, anyone?
1111100000111011000001110111111100000110000001110110000011111111

Should work down to 10 mSec or so.

Re: [NodeMcu] Change log (build 20141208)

PostPosted: Mon Dec 08, 2014 12:22 pm
by Fr4gg0r
Why the remapping of the gpio pin numbers into a continuous linear order? :/