Page History
...
Change the contents of the model file to the following code and save it.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
scchart Flashlight { @Wrapper TouchSensor, S4 input bool button; @Wrapper Floodlight, S1 output bool light; initial state lightOff --> lightOn with button / light = true; state lightOn --> lightOff with !button / light = false; } |
...
Overview
Content Tools