BlinkStick Square or Strip - Python example

Hi there,

I understand that I can let the stick light up by using the Python code

bstick.blink(name=“red”)

But how do I select the individual LEDs on a BlinkStick Square or Strip?
Is it the same as with the Pro, i.e.

bstick.set_color(channel=0, index=12, name=“red”)

Would be nice to see some examples.

Hi Holger and welcome to the forums.

Your command is basicly correct but keep in mind that a Square only has 8 leds. “index=12” will not work for a Square/Strip. Index=0 up to index=7 will work.

That makes sense. :wink:

Thanks for your answer! :slight_smile: