Hi,
something is still not right.
Here is the rule:
Code: Select all
on task1 do
taskvalueset,1,1,%eventvalue%
taskRun,1
endon
on [dummy#t1] do
oled,2,1,S1=[dummy#t1]
oled,4,1,received
event,zone1trigger
endon
Here is how I call it (from another UNIT):
Code: Select all
sendto 16,event,task1=[rotary#counter]
Here is the log:
Code: Select all
9376109 : EVENT: task1=29
9376146 : ACT : taskvalueset,1,1,29
9376157 : ACT : taskRun,1
9379297 : WD : Uptime 155 ConnectFailures 0 FreeMem 13568
9409297 : WD : Uptime 156 ConnectFailures 0 FreeMem 13568
9413423 : EVENT: Clock#Time=Sun,14:30
But the code triggered by the value changed is not executed.