I use esp8266 01
How can i combine this functions?
msgbranch [mybranch]
wait
[mybranch]
cls
flagOn1=0
pinNo = val(msgget("pin"))
pinStatus = val(msgget("stat"))
.
.
.
wait
timer 1000, [branch]
wait
[branch]
print "somthing"
wait