Hi Michael.
At first "thanks" for your work. I like also to comment your suggestion.
Usage:
Basicly the tool is "usefull". Handling a high number of LED with only one PIN is a good idea. If the system is simmular easy like the current technic then i absolutly agree.
The Color Feature i personlay think is not needed. I only now a verry small number of LED in a cockpit that have multiple colors ( for example the AFDS in a B737 with Red/Yellow status) ..... But 99% of LED are simple UNI Color..... Whatever we need Green, Red, Blue, Yellow and White LED.... All of these not need to have different colors..... So the Anounciator that need a red LED is always red and not need to be green for example.... So we can simply use a red LED directly and not need a RGB LED here.... Cause its static!
For Dimming i see a Usage if a Anounciator can have a FULL and DIMMED Status. Here we currently need 2 LED.... With your System this can be done with ONE Led.
But for Backlighting we have technical problems. Here i think the Logic of Mobiflight not is comaptible and we need a "bigger" change in Logic and Grafic UI .
Here is the simple question..... Is this usefull ? Backlights not need to be implement in the Sim Logic. So the Sim not must be "know" if my backlight is on.... And also my backlight must not show the status of the "virtual" Backlight in the Sim.
Summary i think here a EXTERNAL Solution is more easy and more usefull. ( We can talk private if you like to discuss that)
*****
Technical Side:
In case we need a Mobiflight that work already for older versions this system must be additional to the normal LED System and should NOT remove it.
So i think the WS2812 must be a new "Device Typ"
I think we should have in Mobiflightboards/Devicesettings a new "Typ" like "WS2812 LED Chain" . Here we define the PIN that is in use AND the number of LED in the Chain.
In Configs we use instead of "LED OUTPUT" then optional the Device Typ "WS2812 LED Chain" .
Here we choose in a Dropdown the "LED Chain" we like to use (Specialy if more then 1 chain exist) AND we say here WHAT specific LED (Number in Chain) we like to controll.
Then we Can Choose 3 Values (RGB ) and define the color and Brightness for TWO Situations ( TRUE and FALSE)
So if Indicator is True (For example a BoolOffset is 1) we choose for example 255/255/255 (full white) and for FALSE ( Bool is Zero) we choose 0/0/0 (complete dark)
THIIS should be possible and relative easy to implement !
(Again i will not comment the "Dimming in case of a Offset" ....I think this is a to much deep change... But we can also discuss if you like in a personal way like email... Maby you got a good idea)
Possible problems.
A Fact that is a bit "confusing" me is the data rate we need here. Every LED need a 3 Byte Value for Controll. It is chained.... so for 50 LED we need 150Byte that must be send.
If last LED must be chanched then all 49 in front also need to get a value.
I think it must be tested ( with Mobiflight loop logic) how long a LED Strip can be before we "feel" signeficant delays. Also it must be tested if a Max7219 or LED Segment on Same board is affected if MEGA CPU need to work 100 times more like at the moment to handle your LED System.
(I finaly not understabnd if this LED Chain must send values ALL THE TIME or only if a LED in the Chain change Status (like a Max7219) )
A other negative argument is that the Chipset is not available for lots of LED.. Stephan still said his LED normaly have a Brightness of 8000 and more. The LED i found on a google search with that WS2812 System are pretty much lower. Is Brightness enough for the usage of a Homecockpit ?
****************
Summary:
With my personal Rating System this request got a 7-8 ( out of 10) . So this is a clear recommendation. I can not garantee if Sebastian loves it and if this gets into Mobiflight finaly. But i will vote for it ( Whatever NOT for a Backlight DIMMED logic at the moment ) .
Last Note: If you can scripting PLEASE get in contact to Sebastian. Every Developer who like to get into the team is welcome. But i recommend to talk to him ! It make no sense if you invest lots of time if HE like it another way. So working together is the Key !
THANK YOU