Getting Started Guide

CLASS 4
30
Status indication and variables
Status indicating variables
Now let’s learn how to use the variables to display the status. Please refer to the example below!
Imagine having an electric fan. The electric fan is turned on only if you press the button. If you let go of the button,
it will still be on. It only turns on if you press the button again.
1. Press the switch button to turn on the fan
2. The fan continues to work
3. Press the switch button again to turn off the fan.
switch
switch
switch