UART receive is not working in ESP NodeMCU
Posted: Wed Feb 01, 2017 1:33 am
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.
Kindly help...
regards
Idris
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 all
cls
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