aboutsummaryrefslogtreecommitdiff
path: root/mussel1/mussel1.puml
blob: 12dbb4389ad07d72a1a0486838320ff499121c97 (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 (unused path)
  18. stop
  19. @enduml