Merge pull request #9481 from phobos-/nfe-racemode
[betaflight.git] / docs / LedStrip.md
blobd95c1c059cb59807f03864b4cbec8c68e8bbccbe
1 # LED Strip
3 Betaflight supports the use of addressable LED strips.  Addressable LED strips allow each LED in the strip to be programmed with a unique and independent color.  This is far more advanced than the normal RGB strips which require that all the LEDs in the strip show the same color.
6 ## LED Strip Profiles
8 The LED strip feature supports 3 LED strip profiles, STATUS, RACE and BEACON.  The selected profile can be changed from the CLI, OSD LED strip menu or from an adjustment channel, i.e. switch on your radio.  Take note that the adjustment channel from your radio overrides all other LED strip profile selection options.
11 ### STATUS Profile
13 The STATUS profile is used to display all the information mentioned below, i.e. warning indications, larsen scanner etc.
15 Addressable LED strips can be used to show information from the flight controller system, the current implementation supports the following:
17 * Up to 32 LEDs. (Support for more than 32 LEDs is possible, it just requires additional development.)
18 * Indicators showing pitch/roll stick positions.
19 * Heading/Orientation lights.
20 * Flight mode specific color schemes.
21 * Low battery warning.
22 * AUX operated on/off switch.
23 * GPS state.
24 * RSSI level.
25 * Battery level.
28 ### RACE Profile
30 The RACE profile is used to set ALL strip LEDs to the selected color for racing, i.e. to identify quads based on LED color.  The LED color is fixed and no other information is displayed.
33 ### BEACON Profile
35 The BEACON profile is used to find a lost quad, it flashes all LEDs white once per second.  Again in this profile no other information is displayed on the LEDs.
38 ### LED Profile Configuration
40 ###### OPTION 1: Configure an adjustment range to change the LED strip profile from your radio
41 1. Turn on Expert mode - see top right of configurator screen "Enable Expert Mode".
42 2. The LED strip profile selection is performed using an adjustment configured via the Adjustments tab.
43     - Enable an adjustment. ("If enabled")
44     - Select the AUX channel to be used to change the LED strip profile. ("when channel")
45     - Set the range to cover the entire range of the selected AUX channel. ("is in ranges")
46     - For the action select "RC Rate Adjustment". ("then apply")  This will be configured in the CLI since LED strip profiles is not supported by Configurator 10.4.0 and earlier. "RC Rate Adjustment" is only selected to make the configuration in the CLI a little easier below.
47     - Select the "via channel" to match the selected AUX channel of above. ("when channel").
48     - Save
49 3. Open the CLI and type ```adjrange``` followed by enter.
50 4. Copy the adjrange configured in step 2. above and paste it in the command window.  Change the '1' following the range of the channel to '30' and press enter.  Type ```save``` and press enter.  The configured adjrange will now be saved and the FC will reboot.
51 5. Configure the AUX channel on your radio.  When this channel is changed the selected LED strip profile will change between STATUS, RACE and BEACON, you should see the LED function change as you do this.
54 ###### OPTION 2: Use the CLI to select the LED strip profile (i.e. not selecting the LED strip profile with your radio)
55 1. Open the CLI.
56 2. Type ```get ledstrip_profile``` followed by enter to display the currently selected LED strip profile.
57 3. Type ```set ledstrip_profile=x``` where x is the profile STATUS, RACE or BEACON and press enter.
58 4. Type ```save``` followed by enter to save the selected LED strip profile.
61 ###### OPTION 3: By using the OSD
62 1. Open the OSD menu by yawing left and pitching forward on your radio.
63 2. Using the pitch stick, move down to the LED Strip menu and roll right to enter the menu.
64 3. The profile and race color can be configured using the left stick to go back and the right stick to navigate up/down and to change the selected value.
65 4. Use the left stick to go to the top level menu and select save & reboot to complete.
68 ###### RACE COLOR: The Race color can be configured using the CLI:
69 1. Open the CLI.
70 2. Type ```get ledstrip_race_color``` followed by enter to display the currently selected race color number.
71 3. Type ```set ledstrip_race_color=x``` where x is the required color.
72 4. Type ```save``` followed by enter to save the race color to be used.
75 ## Supported hardware
77 Only strips of 32 WS2811/WS2812 LEDs are supported currently.  If the strip is longer than 32 LEDs it does not matter, but only the first 32 are used.
79 WS2812 LEDs require an 800khz signal and precise timings and thus requires the use of a dedicated hardware timer.
81 Note: Not all WS2812 ICs use the same timings, some batches use different timings.  
83 It could be possible to be able to specify the timings required via CLI if users request it.
85 ### Tested Hardware
87 * [Adafruit NeoPixel Jewel 7](https://www.adafruit.com/products/2226) (preliminary testing)
88   * Measured current consumption in all white mode ~ 350 mA.
89   * Fits well under motors on mini 250 quads.
90 * [Adafruit NeoPixel Stick](https://www.adafruit.com/products/1426) (works well)
91   * Measured current consumption in all white mode ~ 350 mA.
94 ### WS2811 vs WS2812
96 The [WS2811](https://cdn-shop.adafruit.com/datasheets/WS2811.pdf) is a LED driver IC which is connected to an RGB LED. It accepts data in the form of 8 bits each of Red-Green-Blue.
98 The [WS2812](https://cdn-shop.adafruit.com/datasheets/WS2812.pdf) is integrated into the package of a 50:50 LED rather than as a separate device. It accepts data in the form of 8 bits each of Green-Red-Blue.
100 It is thus possible, depending on the LED board/strip being used that either Red-Green-Blue or Green-Red-Blue encoding may be required. This may be controlled by setting the following.
103 set ledstrip_grb_rgb = RGB
108 set ledstrip_grb_rgb = GRB
111 Then confirm the required setting by simply setting an LED to be green. If it lights up red, you have the wrong setting.
113 ## Connections
115 WS2812 LED strips generally require a single data line, 5V and GND.
117 WS2812 LEDs on full brightness can consume quite a bit of current.  It is recommended to verify the current draw and ensure your supply can cope with the load.  On a multirotor that uses multiple BEC ESC's you can try use a different BEC to the one the FC uses.  e.g. ESC1/BEC1 -> FC, ESC2/BEC2 -> LED strip.   It's also possible to power one half of the strip from one BEC and the other half from another BEC.  Just ensure that the GROUND is the same for all BEC outputs and LEDs.
119 | Target                | Pin  | LED Strip | Signal |
120 | --------------------- | ---- | --------- | -------|
121 | Naze                  | RC5  | Data In   | PA6    |
122 | CC3D                  | RCO5 | Data In   | PB4    |
123 | ChebuzzF3/F3Discovery | PB8  | Data In   | PB8    |
124 | Sparky                | PWM5 | Data In   | PA6    |
126 Since RC5 is also used for SoftSerial on the Naze it means that you cannot use SoftSerial and led strips at the same time. Additionally, since RC5 is also used for Parallel PWM RC input on both the Naze, Chebuzz and STM32F3Discovery targets, led strips can not be used at the same time at Parallel PWM.
128 If you have LEDs that are intermittent, flicker or show the wrong colors then drop the VIN to less than 4.7v, e.g. by using an inline diode on the VIN to the LED strip. The problem occurs because of the difference in voltage between the data signal and the power signal.  The WS2811 LED's require the data signal (Din) to be between 0.3 * Vin (Max) and 0.7 * VIN (Min) to register valid logic low/high signals.  The LED pin on the CPU will always be between 0v to ~3.3v, so the Vin should be 4.7v (3.3v / 0.7 = 4.71v). Some LEDs are more tolerant of this than others.
130 The datasheet can be found here: http://www.adafruit.com/datasheets/WS2812.pdf
132 ## Configuration
134 The led strip feature can be configured via the GUI.
136 GUI:
137 Enable the Led Strip feature via the GUI under setup.
139 Configure the leds from the Led Strip tab in the cleanflight GUI.
140 First setup how the led's are laid out so that you can visualize it later as you configure and so the flight controller knows how many led's there are available.
142 There is a step by step guide on how to use the GUI to configure the Led Strip feature using the GUI http://blog.oscarliang.net/setup-rgb-led-cleanflight/ which was published early 2015 by Oscar Liang which may or may not be up-to-date by the time you read this.
144 CLI:
145 Enable the `LED_STRIP` feature via the cli:
148 feature LED_STRIP
151 If you enable LED_STRIP feature and the feature is turned off again after a reboot then check your config does not conflict with other features, as above.
153 Configure the LEDs using the `led` command.
155 The `led` command takes either zero or two arguments - an zero-based led number and a sequence which indicates pair of coordinates, direction flags and mode flags and a color.
157 If used with zero arguments it prints out the led configuration which can be copied for future reference.
159 Each led is configured using the following template: `x,y:ddd:mmm:cc`
161 `x` and `y` are grid coordinates of a 0 based 16x16 grid, north west is 0,0, south east is 15,15
162 `ddd` specifies the directions, since an led can face in any direction it can have multiple directions.  Directions are:
164  `N` - North
165  `E` - East
166  `S` - South
167  `W` - West
168  `U` - Up
169  `D` - Down
171 For instance, an LED that faces South-east at a 45 degree downwards angle could be configured as `SED`.
173 Note: It is perfectly possible to configure an LED to have all directions `NESWUD` but probably doesn't make sense.
175 `mmm` specifies the modes that should be applied an LED.
177 Each LED has one base function:
179 * `C` - `C`olor.
180 * `F` - `F`light mode & Orientation
181 * `A` - `A`rmed state.
182 * `R` - `R`ing thrust state.
183 * `G` - `G`PS state.
184 * `S` - R`S`SSI level.
185 * `L` - Battery `L`evel.
187 And each LED has overlays:
189 * `W` - `W`warnings.
190 * `I` - `I`ndicator.
191 * `T` - `T`hrust state.
192 * `B` - `B`link (flash twice) mode.
193 * `O` - Lars`O`n Scanner (Cylon Effect).
194 * `N` - Blink on la`N`ding (throttle < 50%).
196 `cc` specifies the color number (0 based index).
198 Example:
201 led 0 0,15:SD:AWI:0
202 led 1 15,0:ND:AWI:0
203 led 2 0,0:ND:AWI:0
204 led 3 0,15:SD:AWI:0
205 led 4 7,7::C:1
206 led 5 8,8::C:2
207 led 6 8,9::B:1
210 To erase an led, and to mark the end of the chain, use `0,0::` as the second argument, like this:
213 led 4 0,0:::
216 It is best to erase all LEDs that you do not have connected.
218 ### Modes
220 #### Warning
222 This mode simply uses the LEDs to flash when warnings occur.
224 | Warning | LED Pattern | Notes |
225 |---------|-------------|-------|
226 | Arm-lock enabled | flash between green and off | occurs calibration or when unarmed and the aircraft is tilted too much |
227 | Low Battery | flash red and off | battery monitoring must be enabled.  May trigger temporarily under high-throttle due to voltage drop |
228 | Failsafe | flash between light blue and yellow | Failsafe must be enabled |
230 Flash patterns appear in order, so that it's clear which warnings are enabled.
232 #### GPS state
234 This mode shows the GPS state and satellite count.
236 No fix = red LED
237 3D fix = green LED
239 The LEDs will blink as many times as the satellite count, then pause and start again.
241 #### RSSI level
243 This mode binds the LED color to RSSI level.
245 | Color      |   RSSI   |
246 | ---------- | ---------|
247 | Green      |   100%   |
248 | Lime green |    80%   |
249 | Yellow     |    60%   |
250 | Orange     |    40%   |
251 | Red        |    20%   |
252 | Deep pink  |     0%   |
253     
254 When RSSI is below 50% is reached, LEDs will blink slowly, and they will blink fast when under 20%.
257 #### Battery level
259 This mode binds the LED color to remaining battery capacity.
261 | Color      | Capacity |
262 | ---------- | ---------|
263 | Green      |   100%   |
264 | Lime green |    80%   |
265 | Yellow     |    60%   |
266 | Orange     |    40%   |
267 | Red        |    20%   |
268 | Deep pink  |     0%   |
269     
270 When Warning or Critial voltage is reached, LEDs will blink slowly or fast.
271 Note: this mode requires a current sensor. If you don't have the actual device you can set up a virtual current sensor (see [Battery](Battery.md)).
273 #### Blink
275 This mode blinks the current LED, alternatively from black to the current active color.
277 #### Blink on landing
279 This mode blinks the current LED, alternatively from black to the current active color, when throttle is below 50% and the craft is armed.
281 #### Larson Scanner (Cylon Effect)
283 The Larson Scanner replicates the scanning "eye" effect seen on the mechanical Cylons and on Kitt from Knight Rider.
285 This overlay merely varies the brightness of each LED's current color.
287 #### Flight Mode & Orientation
289 This mode shows the flight mode and orientation.
291 When flight modes are active then the LEDs are updated to show different colors depending on the mode, placement on the grid and direction.
293 LEDs are set in a specific order:
294  * LEDs that marked as facing up or down.
295  * LEDs that marked as facing west or east AND are on the west or east side of the grid.
296  * LEDs that marked as facing north or south AND are on the north or south side of the grid.
298 That is, south facing LEDs have priority.
300 The mapping between modes led placement and colors is currently fixed and cannot be changed.
302 #### Indicator
304 This mode flashes LEDs that correspond to roll and pitch stick positions.  i.e.  they indicate the direction the craft is going to turn.
306 | Mode | Direction | LED Color |
307 |------------|--------|---------------------|
308 |Orientation | North  | WHITE                   |
309 |Orientation | East   | DARK VIOLET     |  
310 |Orientation | South  | RED                     |
311 |Orientation | West   | DEEP PINK               |
312 |Orientation | Up     | BLUE                    |
313 |Orientation | Down   | ORANGE          |
314 | | | |
315 |Head Free   | North  | LIME GREEN      |
316 |Head Free   | East   | DARK VIOLET     |
317 |Head Free   | South  | ORANGE          |
318 |Head Free   | West   | DEEP PINK       |
319 |Head Free   | Up     | BLUE                    |
320 |Head Free   | Down   | ORANGE          |
321 | | | |
322 |Horizon     | North  | BLUE                    |
323 |Horizon     | East   | DARK VIOLET     |
324 |Horizon     | South  | YELLOW          |
325 |Horizon     | West   | DEEP PINK       |
326 |Horizon     | Up     | BLUE                    |
327 |Horizon     | Down   | ORANGE          |
328 | | | |
329 |Angle       | North  | CYAN                    |
330 |Angle       | East   | DARK VIOLET     |
331 |Angle       | South  | YELLOW          |
332 |Angle       | West   | DEEP PINK       |
333 |Angle       | Up     | BLUE                    |
334 |Angle       | Down   | ORANGE          |
335 | | | |
336 |Mag         | North  | MINT GREEN      |
337 |Mag         | East   | DARK VIOLET     |
338 |Mag         | South  | ORANGE          |
339 |Mag         | West   | DEEP PINK       |
340 |Mag         | Up     | BLUE                    |
341 |Mag         | Down   | ORANGE          |
342 | | | |
343 |Baro        | North  | LIGHT BLUE      |
344 |Baro        | East   | DARK VIOLET     |
345 |Baro        | South  | RED                     |
346 |Baro        | West   | DEEP PINK       |
347 |Baro        | Up     | BLUE                    |
348 |Baro        | Down   | ORANGE          |
350 #### Armed state
352 This mode toggles LEDs between green and blue when disarmed and armed, respectively.
354 Note: Armed State cannot be used with Flight Mode.
356 #### Thrust state
358 This mode fades the LED current LED color to the previous/next color in the HSB color space depending on throttle stick position.  When the throttle is in the middle position the color is unaffected, thus it can be mixed with orientation colors to indicate orientation and throttle at the same time.  Thrust should normally be combined with Color or Mode/Orientation.
360 #### Thrust ring state
362 This mode is allows you to use one or multiple led rings (e.g. NeoPixel ring) for an afterburner effect.  The light pattern rotates clockwise as throttle increases. 
364 A better effect is acheived when LEDs configured for thrust ring have no other functions.
366 LED direction and X/Y positions are irrelevant for thrust ring LED state.  The order of the LEDs that have the state determines how the LED behaves.
368 Each LED of the ring can be a different color. The color can be selected between the 16 colors availables.
370 For example, led 0 is set as a `R`ing thrust state led in color 13 as follow. 
373 led 0 2,2::R:13
376 LED strips and rings can be combined.
378 #### Solid Color
380 The mode allows you to set an LED to be permanently on and set to a specific color.
382 x,y position and directions are ignored when using this mode.
384 Other modes will override or combine with the color mode.
386 For example, to set led 0 to always use color 10 you would issue this command. 
389 led 0 0,0::C:10
392 ### Colors
394 Colors can be configured using the cli `color` command.
396 The `color` command takes either zero or two arguments - an zero-based color number and a sequence which indicates pair of hue, saturation and value (HSV).
398 See http://en.wikipedia.org/wiki/HSL_and_HSV
400 If used with zero arguments it prints out the color configuration which can be copied for future reference.
402 The default color configuration is as follows:
404 | Index | Color       |
405 | ----- | ----------- |
406 |     0 | black       |
407 |     1 | white       |
408 |     2 | red         |
409 |     3 | orange      |
410 |     4 | yellow      |
411 |     5 | lime green  |
412 |     6 | green       |
413 |     7 | mint green  |
414 |     8 | cyan        |
415 |     9 | light blue  |
416 |    10 | blue        |
417 |    11 | dark violet |
418 |    12 | magenta     |
419 |    13 | deep pink   |
420 |    14 | black       |
421 |    15 | black       |
424 color 0 0,0,0
425 color 1 0,255,255
426 color 2 0,0,255
427 color 3 30,0,255
428 color 4 60,0,255
429 color 5 90,0,255
430 color 6 120,0,255
431 color 7 150,0,255
432 color 8 180,0,255
433 color 9 210,0,255
434 color 10 240,0,255
435 color 11 270,0,255
436 color 12 300,0,255
437 color 13 330,0,255
438 color 14 0,0,0
439 color 15 0,0,0
442 ### Mode Colors Assignement
444 Mode Colors can be configured using the cli `mode_color` command.
446 - No arguments: lists all mode colors
447 - arguments: mode, function, color
449 First 6 groups of ModeIndexes are :
451 | mode | name        |
452 |------|-------------|
453 | 0    | orientation |
454 | 1    | headfree    |
455 | 2    | horizon     |
456 | 3    | angle       |
457 | 4    | mag         |
458 | 5    | baro        |
459 | 6    | special     |
461 Modes 0 to 5 functions:
463 | function | name  |
464 |----------|-------|
465 | 0        | north |
466 | 1        | east  |
467 | 2        | south |
468 | 3        | west  |
469 | 4        | up    |
470 | 5        | down  |
472 Mode 6 use these functions:
474 | function | name               |
475 |----------|--------------------|
476 | 0        | disarmed           |
477 | 1        | armed              |
478 | 2        | animation          |
479 | 3        | background         |
480 | 4        | blink background   |
481 | 5        | gps: no satellites |
482 | 6        | gps: no fix        |
483 | 7        | gps: 3D fix        |
485 The ColorIndex is picked from the colors array ("palette").
487 Examples (using the default colors):
489 - set armed color to red: ```mode_color 6 1 2```
490 - set disarmed color to yellow: ```mode_color 6 0 4```
491 - set Headfree mode 'south' to Cyan: ```mode_color 1 2 8```
493 ## Positioning
495 Cut the strip into sections as per diagrams below.  When the strips are cut ensure you reconnect each output to each input with cable where the break is made. e.g. connect 5V out to 5V in, GND to GND and Data Out to Data In.
497 Orientation is when viewed with the front of the aircraft facing away from you and viewed from above.
499 ### Example 12 LED config
501 The default configuration is as follows
503 led 0 15,15:ES:IA:0
504 led 1 15,8:E:WF:0
505 led 2 15,7:E:WF:0
506 led 3 15,0:NE:IA:0
507 led 4 8,0:N:F:0
508 led 5 7,0:N:F:0
509 led 6 0,0:NW:IA:0
510 led 7 0,7:W:WF:0
511 led 8 0,8:W:WF:0
512 led 9 0,15:SW:IA:0
513 led 10 7,15:S:WF:0
514 led 11 8,15:S:WF:0
515 led 12 7,7:U:WF:0
516 led 13 8,7:U:WF:0
517 led 14 7,8:D:WF:0
518 led 15 8,8:D:WF:0
519 led 16 8,9::R:3
520 led 17 9,10::R:3
521 led 18 10,11::R:3
522 led 19 10,12::R:3
523 led 20 9,13::R:3
524 led 21 8,14::R:3
525 led 22 7,14::R:3
526 led 23 6,13::R:3
527 led 24 5,12::R:3
528 led 25 5,11::R:3
529 led 26 6,10::R:3
530 led 27 7,9::R:3
531 led 28 0,0:::0
532 led 29 0,0:::0
533 led 30 0,0:::0
534 led 31 0,0:::0
537 Which translates into the following positions:
540      6             3
541       \           /
542        \   5-4   /
543         \ FRONT /
544     7,8 | 12-15 | 1,2
545         /  BACK \
546        /  10,11  \
547       /           \
548      9             0
549        RING 16-27
552 LEDs 0,3,6 and 9 should be placed underneath the quad, facing downwards.
553 LEDs 1-2, 4-5, 7-8 and 10-11 should be positioned so the face east/north/west/south, respectively.
554 LEDs 12-13 should be placed facing down, in the middle
555 LEDs 14-15 should be placed facing up, in the middle
556 LEDs 16-17 should be placed in a ring and positioned at the rear facing south.
558 This is the default so that if you don't want to place LEDs top and bottom in the middle just connect the first 12 LEDs.
560 ### Example 16 LED config
563 led 0 15,15:SD:IA:0
564 led 1 8,8:E:FW:0
565 led 2 8,7:E:FW:0
566 led 3 15,0:ND:IA:0
567 led 4 7,7:N:FW:0
568 led 5 8,7:N:FW:0
569 led 6 0,0:ND:IA:0
570 led 7 7,7:W:FW:0
571 led 8 7,8:W:FW:0
572 led 9 0,15:SD:IA:0
573 led 10 7,8:S:FW:0
574 led 11 8,8:S:FW:0
575 led 12 7,7:D:FW:0
576 led 13 8,7:D:FW:0
577 led 14 7,7:U:FW:0
578 led 15 8,7:U:FW:0
581 Which translates into the following positions:
584      6             3
585       \           / 
586        \   5-4   / 
587       7 \ FRONT / 2
588         | 12-15 | 
589       8 /  BACK \ 1
590        /  10-11  \
591       /           \ 
592      9             0
595 LEDs 0,3,6 and 9 should be placed underneath the quad, facing downwards.
596 LEDs 1-2, 4-5, 7-8 and 10-11 should be positioned so the face east/north/west/south, respectively.
597 LEDs 12-13 should be placed facing down, in the middle
598 LEDs 14-15 should be placed facing up, in the middle
600 ### Exmple 28 LED config
603 #right rear cluster
604 led 0 9,9:S:FWT:0
605 led 1 10,10:S:FWT:0
606 led 2 11,11:S:IA:0
607 led 3 11,11:E:IA:0
608 led 4 10,10:E:AT:0
609 led 5 9,9:E:AT:0
610 # right front cluster
611 led 6 10,5:S:F:0
612 led 7 11,4:S:F:0
613 led 8 12,3:S:IA:0
614 led 9 12,2:N:IA:0
615 led 10 11,1:N:F:0
616 led 11 10,0:N:F:0
617 # center front cluster
618 led 12 7,0:N:FW:0
619 led 13 6,0:N:FW:0
620 led 14 5,0:N:FW:0
621 led 15 4,0:N:FW:0
622 # left front cluster
623 led 16 2,0:N:F:0
624 led 17 1,1:N:F:0
625 led 18 0,2:N:IA:0
626 led 19 0,3:W:IA:0
627 led 20 1,4:S:F:0
628 led 21 2,5:S:F:0
629 # left rear cluster
630 led 22 2,9:W:AT:0
631 led 23 1,10:W:AT:0
632 led 24 0,11:W:IA:0
633 led 25 0,11:S:IA:0
634 led 26 1,10:S:FWT:0
635 led 27 2,9:S:FWT:0
639        16-18  9-11
640 19-21 \           / 6-8
641        \  12-15  / 
642         \ FRONT /
643         /  BACK \
644        /         \
645 22-24 /           \ 3-5
646        25-27   0-2  
649 All LEDs should face outwards from the chassis in this configuration.
651 Note:
652 This configuration is specifically designed for the [Alien Spider AQ50D PRO 250mm frame](http://www.goodluckbuy.com/alien-spider-aq50d-pro-250mm-mini-quadcopter-carbon-fiber-micro-multicopter-frame.html).
655 ## Troubleshooting
657 On initial power up the LEDs on the strip will be set to WHITE.  This means you can attach a current meter to verify the current draw if your measurement equipment is fast enough.  Most 5050 LEDs will draw 0.3 Watts a piece.
658 This also means that you can make sure that each R,G and B LED in each LED module on the strip is also functioning. After a short delay the LEDs will show the unarmed color sequence and or low-battery warning sequence.
660 Also check that the feature `LED_STRIP` was correctly enabled and that it does not conflict with other features, as above.