Define default Pins for multi outputs

hi

So we can define a “LEDPIN=15”

Is there way i can compile something like.

Total led pins = 4

LEDPIN1=2
LEDPIN2=4
LEDPIN3=15
LEDPIN4=14

??

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,…

2 Likes

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.