blob: 61f1fbc3fcca4286f197138fc162e28b918b6fe6 (
plain)
- @startuml
- start
- partition init {
- :setup serial connection;
- :print "ready";
- }
- while (repeat every few millisecond)
- partition loop {
- ;resolve currentSecond;
- if (currentSecond mod 12 < 9 ?) equals (yes) then
- :print "good";
- else (no)
- :print "bad";
- endif
- :wait 1s;
- }
- endwhile
- -[hidden]->
- kill
- @enduml
|