9 lines
182 B
Text
9 lines
182 B
Text
|
node updown(on_off : bool) returns (o : bool)
|
||
|
let
|
||
|
automaton
|
||
|
state Down
|
||
|
do o = false until on_off then Up
|
||
|
state Up
|
||
|
do o = true until on_off then Down
|
||
|
end;
|
||
|
tel
|