How to change all the leds on en16 with immediate_send?

Hi!
I have a Bu16 that has one button that changes the led color of the first pot on a ENC16 with:

immediate_send(-1,0,‘led_color(0, 1, 105, 255, 8)’)

How can I do the same for the whole ENC16 module pot leds?

I cant figure this out,

Cheers

1 Like

Are you wanting to set all LEDs to the same color/value at the same time?

Use a ‘for’ loop to call ‘immediate_send()’ for as many elements as there are in the EN16 module.

1 Like