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