aboutsummaryrefslogtreecommitdiff
path: root/mussel1/mussel1.puml
blob: dda8ac75360647d45f406badcbe7021b815bbf1e (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 < 50 ?) 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