LED functions

LED functions is the way you control your LEDs. There are two basic functions and some specific functions. The two basic ones are:

  • colorLED()

  • triggerLED()

These two alone will give you the freedom to do pretty much anything. The more tailored functions are a bit more limiting, but will do in one function what you'd need 20 triggerLED() functions to do.

There are specific functions that act on specific LED strips. colorLED() works on strip one. colorLED3() work on strip 3. triggerLED2() works on strip 2, etc.

Besides from the functions included in DDC, you can address the LED strips with commands from the Neopixel library as well. The LED strips are named LED1, LED2, LED3 and LED4. See list of commands here.

colorLED()

Allows you to set the color and brightness of one or more LEDs.

triggerLED()

Allows you to set the color and brightness of one or more LEDs under certain conditions. Also has the options of keeping all its LEDs cleared when not used, and to activate blinking.

To get access to things happening in the firmware and use this as a condition, there are triggers you can use. These will return true under certain conditions.

biteLED()

Premade solution for using LED indication on setting the bite point, typically the rev light streip. It requres at least 10 LEDs in a chain

  • You'll set a single or multiple LEDs to blink at a certain color when bite point setting is active.

  • A chain of 10 LEDs will represent numbers 0 to 10 (0 being none lit) that changes color as you move through the stages of setting the bite point.

rotaryLED()

Ties x amount of LEDs to a x-position rotary switch. The idea being that the LED will indicate the position of the switch. As the option to offset and reverse the LED direction, so it should always be able to match the switch position.

Last updated