diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-04-16 10:55:42 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-04-16 10:55:42 +0200 |
commit | d6a944ecce92f1b5bdd54aaf3ed57808c3286ce0 (patch) | |
tree | c248d01d1d8a90cdd48375fdd343e598bbfc2e4a /vote/Mussel_Beacon_Voting.md | |
parent | 3da3079f0661b2e966ee3e150d7a3c08664046d5 (diff) |
add vote as non-library sketch
Diffstat (limited to 'vote/Mussel_Beacon_Voting.md')
-rw-r--r-- | vote/Mussel_Beacon_Voting.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vote/Mussel_Beacon_Voting.md b/vote/Mussel_Beacon_Voting.md new file mode 100644 index 0000000..33a0893 --- /dev/null +++ b/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". |