inav icon indicating copy to clipboard operation
inav copied to clipboard

[LED strip] [NeoPixel] [WS2812] "RED" color in LED strip is pink, not red

Open Pougnagna opened this issue 1 year ago • 5 comments

Current Behavior

The 2 led on the left side are showing "GPS not fixed" status. The 6 led on the right are in "Color" mode, and RED color number 2 is chosen.

IMG_20240112_154809__01

Steps to Reproduce

  1. Using 8 led bar, WS2812 NeoPixel from this shop https://www.electroseed.fr/shop/product_info.php?products_id=145
  2. Set a led in COLOR mode
  3. Choose color number 2 which is displayed as RED
  4. Color of the led is pink, not red
  5. Change this led to GPS mode while no GPS fix
  6. Now led shines in lovely red

Expected behavior

I expect to have led lit in red color, not pink

Suggested solution(s)

Change the color setting of RED number 2 to match the red color used by GPS mode.

Additional context


Note_2024-01-12_16_12_39_449

  • FC Board name and vendor: F405WING (SP4W) by SpeedyBee
  • INAV version string: 7.0.0

Pougnagna avatar Jan 12 '24 15:01 Pougnagna

can you please post a diff with the color set?

b14ckyy avatar Mar 21 '24 15:03 b14ckyy

can you please post a diff with the color set? @b14ckyy : Sure, will do tonight. Thanks in advance.

Pougnagna avatar Mar 27 '24 14:03 Pougnagna

Here is all LEDs info from diff:

LEDs

led 0 0,12::G:1 led 1 1,12::G:1 led 2 2,12::CN:2 led 3 3,12::CTN:2 led 4 4,12::CTN:2 led 5 5,12::CTN:2 led 6 6,12::CTN:2 led 7 7,12::CT:2 led 8 8,12::CTN:6 led 9 9,12::CTN:6 led 10 10,12::CTN:6 led 11 11,12::CTN:6 led 12 12,12::CTN:6 led 13 13,12::CN:6 led 14 14,12::CB:1 led 15 15,12::CB:1

LED color

color 14 359,0,255

LED mode_color

Modes [aux]

Pougnagna avatar Mar 27 '24 21:03 Pougnagna

LED 1, GPS mode image

Pougnagna avatar Mar 27 '24 21:03 Pougnagna

LED 2, color mode image

Pougnagna avatar Mar 27 '24 21:03 Pougnagna