The use of the ESP8266 in the world of IoT

User avatar
By idris
#61862 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