diff options
Diffstat (limited to 'Mussel/examples/voting')
-rw-r--r-- | Mussel/examples/voting/voting.ino | 23 | ||||
-rw-r--r-- | Mussel/examples/voting/voting.puml | 15 |
2 files changed, 0 insertions, 38 deletions
diff --git a/Mussel/examples/voting/voting.ino b/Mussel/examples/voting/voting.ino deleted file mode 100644 index db4364d..0000000 --- a/Mussel/examples/voting/voting.ino +++ /dev/null @@ -1,23 +0,0 @@ -#include <Mussel.h> - -// instantiate for vote handling -Mussel mussel(10); - -void setup() { - Serial.begin(115200); - mussel.begin(); - - Serial.printf("\n\nDevice ready: %s\n", - mussel.desc().c_str()); -} - -void loop() { - - // Inject sample data - mussel.push("A1", millis(), random(90)); - mussel.push("B2", millis(), random(90)); - mussel.push("C3", millis(), random(90)); - mussel.printStack(); - - delay(1000); -} diff --git a/Mussel/examples/voting/voting.puml b/Mussel/examples/voting/voting.puml deleted file mode 100644 index 8460d90..0000000 --- a/Mussel/examples/voting/voting.puml +++ /dev/null @@ -1,15 +0,0 @@ -@startuml -'start -:instantiate object; -group init -:activate object; -end group -while (each ½s) -group loop { -:register 3 fake votes; -:fetch and print voting tally; -end group -endwhile --[hidden]-> -kill -@enduml |