aboutsummaryrefslogtreecommitdiff
path: root/mussel2/mussel2.puml
blob: 115d50545e24391414ba2e86b38764cf0286dcd9 (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