...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
scchart { input bool trigger; outputinput int array[10]; output bool action0, action1; int fun; region first_region "Have fun": // State example initial state example_state --> example_state immediate "Having fun" with trigger / action0 = true ; action1 = false ; fun++ ; // Region region second_region "Do nothing concurrently": initial state init; } |
...