iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.11k stars 1.47k forks source link

LED Strip NEO Pixel 7 not working #10133

Closed jlt206 closed 2 months ago

jlt206 commented 3 months ago

Current Behavior

INAV LED Strip Pixel 7

The only resuilt I can get is;

  1. All LEDs flash with Strobe in Black Color
  2. Only 3 LEDs are configurable whislt the rest remain at random colors.

Steps to Reproduce

  1. add Neo Pixel 7 to SpeedyBee FC using the LED connections
  2. Setup the LED Strip

Expected behavior

Suggested solution(s)

I had this same problem in BetFlight and solved it by being able to change the RGBW, GRBW settings in the CLI. What would be gret is if you had drop down list to select from in the LED STRIP page.

Additional context

https://pastebin.com/c0k7Rn66

version

INAV/SPEEDYBEEF405V4 7.1.2 Jun 1 2024 / 00:46:25 (4e1e59eb)

GCC-10.3.1 20210824 (release)

mmosca commented 3 months ago

My guess is that it may be an issue with SpeedyBee led features.

Have you tried with less leds? INAV only recently started supporting more than 32 leds, so trying to have too many leds could potentially be triggering a bug on SpeedyBee's led code.

image

I don't know if speedybee is reading the led commands and re-sending it, or if it is actually switching the pin between its own mcu and INAV.

sensei-hacker commented 2 months ago

Handled on Discord. The user has RGBW LEDs rather than WS2812 LEDs.