aboutsummaryrefslogtreecommitdiff
path: root/mussel2/mussel2.puml
blob: 61f1fbc3fcca4286f197138fc162e28b918b6fe6 (plain)
  1. @startuml
  2. start
  3. partition init {
  4. :setup serial connection;
  5. :print "ready";
  6. }
  7. while (repeat every few millisecond)
  8. partition loop {
  9. ;resolve currentSecond;
  10. if (currentSecond mod 12 < 9 ?) equals (yes) then
  11. :print "good";
  12. else (no)
  13. :print "bad";
  14. endif
  15. :wait 1s;
  16. }
  17. endwhile
  18. -[hidden]->
  19. kill
  20. @enduml