aboutsummaryrefslogtreecommitdiff
path: root/mussel1/mussel1.puml
blob: 49b2fc7f8f894312ccbb7a935ce07ae13511e78f (plain)
  1. @startuml
  2. skin plantuml
  3. 'skin rose
  4. '!theme vibrant
  5. start
  6. partition init {
  7. :setup serial connection;
  8. :print "ready";
  9. }
  10. while (endlessly every few millisecond)
  11. partition loop {
  12. if (currentSecond < 50 ?) equals (yes) then
  13. :print "good";
  14. else (no)
  15. :print "bad";
  16. endif
  17. }
  18. endwhile
  19. :(this point never reached);
  20. stop
  21. @enduml