aboutsummaryrefslogtreecommitdiff
path: root/Mussel/examples/voting_from_EddystoneTLM
diff options
context:
space:
mode:
Diffstat (limited to 'Mussel/examples/voting_from_EddystoneTLM')
-rw-r--r--Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml23
1 files changed, 23 insertions, 0 deletions
diff --git a/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml b/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml
new file mode 100644
index 0000000..6bb5868
--- /dev/null
+++ b/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml
@@ -0,0 +1,23 @@
+@startuml
+'start
+:instantiate object;
+:instantiate network;
+group init
+:activate object;
+:setup network beacon scanner;
+end group
+split
+while (each ½s)
+group loop {
+:fetch and print voting tally;
+end group
+endwhile
+-[hidden]->
+kill
+split again
+while (at each beacon detected)
+:register vote;
+endwhile
+-[hidden]->
+kill
+@enduml