-->
Page 1 of 3

msgbranch and Timer combination

PostPosted: Thu Aug 11, 2016 11:10 am
by Mihail
Hello :)
I use esp8266 01
How can i combine this functions?
Code: Select all
msgbranch [mybranch]
wait
       [mybranch]
                cls
                flagOn1=0
      pinNo = val(msgget("pin"))
      pinStatus = val(msgget("stat"))
               .
               .
               .
wait

timer 1000, [branch]
wait
[branch]
print "somthing"
wait

Re: msgbranch and Timer combination

PostPosted: Sun Aug 14, 2016 8:54 am
by Mihail
:?

Re: msgbranch and Timer combination

PostPosted: Sun Aug 14, 2016 9:55 am
by Mmiscool
What is the end goal?

Re: msgbranch and Timer combination

PostPosted: Sun Aug 14, 2016 10:40 am
by Mihail
The device is operated by phone and then it's waiting for a message ...
While waiting for the message I want to set a timer which makes various checks...