Programming Tutorial

This will create a light that fades in and out. Click on the Simulator to verify this is the
behavior. If you want the fade in and out to be smoother, make the gradient using more
blocks with more closely spaced brightnesses. However, remember that you are limited to
106 blocks on the controller. .
Example four: Making alternating lights
The output channels of the DELight controller are synchronized, so it is possible to make
effects such as chaser lights or alternating police lights. Here, we are going to use
channels 5 and 6 to make red and blue police lights.
Note: Channels 5 and 6 are different from channels 1 through 4. Channels 1-4 have
programmable current, and can supply up to 250mA each. They are protected against
short circuits. Channels 5 and 6 are only on or off, but can supply up to 2 amps each. In
addition to controlling LED lights, they can be used for alternate functions such as