hi all!
I'm really happy with this software. I have a problem with the loop.
I would like to make this function loop through until the next input.
How can I do ?
Any help is highly appreciated
Thank you!
on server#cmdmqtt=5 do
gpio,15,1
timerSet,1,1
timerSet,2,2
timerSet,3,3
endon
on Rules#Timer=1 do
gpio,15,0
endon
on Rules#Timer=2 do
gpio,15,1
endon
on Rules#Timer=3 do
gpio,15,0
endon
Simple LOOP
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 7
- Joined: 17 Jan 2019, 23:34
Re: Simple LOOP
I found this solution...
is this the best way?
On server#cmdmqtt=5 do
timerSet,1,2
endon
On Rules#Timer=1 do
timerSet,1,2
Pulse,15,1,1000
endon
Thank you!
is this the best way?
On server#cmdmqtt=5 do
timerSet,1,2
endon
On Rules#Timer=1 do
timerSet,1,2
Pulse,15,1,1000
endon
Thank you!
Re: Simple LOOP
It will not stop flashing, since the timer to send out a pulse is still setting its own timer.
Who is online
Users browsing this forum: Google [Bot] and 118 guests