Driver.initled initializing arguments
In order to initialize for different fixtures in runtime it is preferable that currently define NUM_LEDS_PER_STRIP and NBIS2SERIALPINS is replaced by initled arguments. For use in StarLight See also issue about crashing when initled is called twice
and also __NB_DMA_BUFFER
These arguments will be set in F_ixture.sc files in StarLight as follows:
- NBIS2SERIALPINS will be derived from the number of (led)pins added
- NUM_LEDS_PER_STRIP will be derived from the number of leds added to one pin (assuming they are the same for each pin ...)
Also colorOrder can be set:
Clockless driver has driver.setColorOrderPerStrip(0, ORDER_GRB);
I guess it's okay to set it for all strips the same, so loop over all strips needed (how to loop over all strips?)...
What happens if ORDER_GRBW is chosen? Leds array 4 bytes (white channel) or using white subtraction?