aboutsummaryrefslogtreecommitdiff
path: root/Mussel/examples/vote/Mussel_Beacon_Voting.md
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-04-13 13:03:53 +0200
committerJonas Smedegaard <dr@jones.dk>2025-04-13 13:03:53 +0200
commited3ac0eb11a04630f7f08124a484a854eea13569 (patch)
treedb1abdc77f1bca0d757d9f14d73830ff8509c400 /Mussel/examples/vote/Mussel_Beacon_Voting.md
parent9c84a009850a06e090b258b6b160ca2cdb41706e (diff)
rename and describe bluetooth examples
Diffstat (limited to 'Mussel/examples/vote/Mussel_Beacon_Voting.md')
-rw-r--r--Mussel/examples/vote/Mussel_Beacon_Voting.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/Mussel/examples/vote/Mussel_Beacon_Voting.md b/Mussel/examples/vote/Mussel_Beacon_Voting.md
new file mode 100644
index 0000000..33a0893
--- /dev/null
+++ b/Mussel/examples/vote/Mussel_Beacon_Voting.md
@@ -0,0 +1,20 @@
+## Mussel Beacon Voting
+
+1. Scans bluetooth network for beacons.
+
+2. Collects mussel name and gape angle
+as decoded from each detected beacon,
+together with the time of detection in milliseconds since boot.
+
+3. Aligns the collected data
+to the format of ballots for a water quality vote.
+
+4. Qualifies the ballots for criteria of the water quality vote
+(e.g. timeliness and sanity of gape angles).
+
+5. Concludes a vote based on collected, aligned and qualified ballots.
+
+6. Acts on the voting result,
+e.g. turns on a steady light for "code green"
+or a blinking light for "code yellow",
+or turns on a blinking light and shuts off a valve for "code red".