System-States
System-states define which runnable are executed for a certain state. This way, dataflow and system behaviour can be switched centrally.
System-States
System-states define which runnable are executed for a certain state. This way, dataflow and system behaviour can be switched centrally.
| Description | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| In this system we only have tow states, blinking LED and UART transmit. | |||||||||||||
| configuration | |||||||||||||
| contained System-States | |||||||||||||
| |||||||||||||
| State | isStart | Runnables | Tasks |
|---|---|---|---|
In this state, an LED will blink. |
true | ||
A state that is entered if the user has pressed the button. Here, periodic UART messages are sent. |
false |