-->
Page 1 of 1

UART receive is not working in ESP NodeMCU

PostPosted: Wed Feb 01, 2017 1:33 am
by idris
Hi,
We are working on ESP NodeMCU ESP Basic 3.0.Alpha 66
We can successfully transmit data on UART by using serialprint but we are not getting any data if we try to receive data on UART.
for receiving data on UART we are using serialinput as you can see below.

Code: Select allcls
let zz$
button "ON",[ON]
serialbranch [serialin]
wait

[ON]
io(po,d1,1)
print "D1 is ON"
serialprint "D1 is ON"
wait

[serialin]
serialinput zz$
serialprintln zz$
print "Done"
return


Kindly help...

regards
Idris