Associate the LED status with the switch

Turn the LED object on and off with the switch.
  1. In Project view, select LED1.
  2. In Properties, create a dynamic link between Active and ProjectName > UI > Pages > Page1 (type) > Switch1 > Checked.

    For more information about dynamic links, see Create dynamic links.

Figure 1. LED toggle