Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this part, the mode values are set.

After editing the mode blocks, for each mode block a setup while be generated. In our current example the equivalent of this pseudo-code will appear:

...

In this part the state values are set based on the linking done between the mode and state blocks.

...

In this part the actions are done based on the current state values

Info
iconfalse
titleactions

if (heating == "normal") {

    temp = 70;

}

else {

    temp = 50;

}

...