CANdle U
ser’s Guide
www.ctr-electronics.com 1/17/2022
Cross The Road Electronics Page 18 1/17/2022
5. External LED strip types
There are multiple types of individually addressable LEDs that affect how color is encoded.
When using external LED strips, it is essential to configure the correct type of LED to get the desired effects.
CANdle supports the following three color (24 bit pixel) types:
•
GRB
–
First byte is Green, second byte is Red, third is Blue
(default configuration)
•
RGB
–
First byte is Red, second byte is Green, third is Blue
•
BRG
–
First byte is Blue, second byte is Red, third is Green
CANdle supports the following four color (32 bit pixel) types:
•
GRBW
–
First byte is Green, second byte is Red, third is Blue, fourth is White
•
RGBW
–
First byte is Red, second byte is Green, third is Blue, fourth is White
•
GRBW
–
First byte is Blue, second byte is Red, third is Green, fourth is White
Failure to properly configure the LED type will result in incorrect colors.
5.1. Testing Recommendations
The primary recommendation is to confirm the LED type by
referencing the documentation of the LED strip
.
All LED strips sold by CTR-Electronics
have such documentation available on the
product pages
But if documentation is not available, the easiest way to configure an unknown LED strip is
to drive a single solid color
(solid
red for example). If external LEDs illuminate a
different solid color
, adjust configuration until red appears. Repeat for green
and blue.
If requesting a solid color
produces several colors to appear
on the LEDs, then the LED strip likely uses 32 bit pixels (with
separate white component) whereas CANdle is configured for three colors (no white component) or vice versa.