Custom LED Script

I have a $50 reward for anyone who can help me find a solution to my specific needs. i need a LED setup that runs 8 LED boards with 5 LEDs on each board (speedybee LED lights). can run all the boards LEDs, and is connected to the flight controller so that they can be switched at the press of a button. the setup is rather unique o it will require LUA scripting in order to right the light sequence. i need 3 light sequences that can be switched back and forth from mid flight via a button on the remote, those 3 being: Red and Blue flashing, Nav lights - standard red, green based off orientation, and a mode to turn off all leds completely.

this should be a rather straightforward and easy project, i just have tried and tried and simply don’t understand how to use the LEDs. as soon as you give me some credible Help, ill give you $25, and after it works, another $25.

what i need: 1, what hardware do i need to aciure? currently i have a Pixhawk 6X running the latest ardupilot, and 8 Lumenier Digital RGB Arm 6 LED Board (can be found on getfpv) but, in order to wire them up and run a LUA skript will i need more then just that? like a adafriut? and i will need a working LUA script i can use that will do the 3 light configurations above.

Those LED strips will work as they are, probably run them all from a 5v BEC so they dont affect the flight controllers own 5v supply. Each of their signal pins (and ground) will connect to servo outputs setup for “Neopixel” and work fine with the correct scripting.

These leds seem to be using ws2812b standard. you could connect the din of first to any output port on the fc (like AUX1, etc) and give it 5v externally. connect the dout of the first strip to the din of the next, and so on. set the protocol to WS2812B LED in Mission Planner and follow this wiki guide: NeoPixel — Copter documentation. this would basically daisy chain all the leds together, but you could still seperately address leds. The default setup will use them like this page suggests (the RGB section):LEDs Meaning — Copter documentation. if you want custom control, use these LUA scripts (refer to the wiki for setting up lua): ardupilot/libraries/AP_Scripting/examples at master · ArduPilot/ardupilot · GitHub. You could use some reference from the LED scripts here and then you could make a custom lua script.