blob: 1e659a5c087da3217c0122ba192b54c9fc220ee2 (
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 (unused path)
- stop
- @enduml
|