6.4.3.2 Use a switched output to turn a device on/off
For example, an LED strip wired to Switched Output 1, and a PIR motion sensor wired to GPIO1. When the motion sensor detects movement, we turn on the LED strip.
6.4.3.3 Use a switched output with PWM
For example, an LED strip wired to Switched Output 1, and a PIR motion sensor wired to GPIO1. LED strip is always on, but only at 20% brightness. When the PIR motion sensor detects movement, we increase the brightness to 100%