aboutsummaryrefslogtreecommitdiff
path: root/mussel2/mussel2.puml
diff options
context:
space:
mode:
Diffstat (limited to 'mussel2/mussel2.puml')
-rw-r--r--mussel2/mussel2.puml7
1 files changed, 4 insertions, 3 deletions
diff --git a/mussel2/mussel2.puml b/mussel2/mussel2.puml
index 49b1457..1e659a5 100644
--- a/mussel2/mussel2.puml
+++ b/mussel2/mussel2.puml
@@ -4,15 +4,16 @@ partition init {
:setup serial connection;
:print "ready";
}
-while (endlessly every few millisecond)
+while (repeat every few millisecond)
partition loop {
+;resolve currentSecond;
if (currentSecond mod 12 < 9 ?) equals (yes) then
:print "good";
else (no)
:print "bad";
endif
+:wait 1s;
}
-endwhile
-:(this point never reached);
+endwhile (unused path)
stop
@enduml