Define default Pins for multi outputs


So we can define a “LEDPIN=15”

Is there way i can compile something like.

Total led pins = 4



In the LED Settings click the + to add more outputs and select whatever gpio(s) you like.

I know I can do that. But I’m already doing a user mod compile so wondering if I can save myself a few clicks.

This should do it…

-D DATA_PINS=1,2,3,…
-D PIXEL_COUNTS=30,30,30,…

1 Like

Worked perfect. Thanks

So you just write this in platformio_overide.ini and than the gpio s acts like an all in one strip?
For example:
2 pins with 10 leds each, will act like 1 strip with 20 leds?

That is the default behaviour of WLED.