# BlinkStick Flex Syncron

**URL:** <https://forums.blinkstick.com/t/blinkstick-flex-syncron/631>\
**Category:** Support\
**Created:** [November 18, 2016, 5:55pm UTC](https://forums.blinkstick.com/t/blinkstick-flex-syncron/631 "2016-11-18T17:55:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BenS](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/b/9fc348/32.png) [@BenS](https://forums.blinkstick.com/u/BenS)\
**Post date:** [November 18, 2016, 5:55pm UTC](https://forums.blinkstick.com/t/blinkstick-flex-syncron/631/1 "2016-11-18T17:55:07Z")

</div>

Hi,  
How can I control with a Flex all 32 LED’s syncron in C#?  
Mode 3 controls only the first 8 …

---

<div class="post-metadata">

**Author:** ![BenS](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/b/9fc348/32.png) [@BenS](https://forums.blinkstick.com/u/BenS)\
**Post date:** [November 18, 2016, 8:14pm UTC](https://forums.blinkstick.com/t/blinkstick-flex-syncron/631/2 "2016-11-18T20:14:17Z")

</div>

I have found something from @p0ke:

byte[] data = new byte[9] {255,0,0,0,255,0,0,0,255};  
blink.SetColors(0,data);

I’ll test it tomorrow with all 32 😉

---

<div class="post-metadata">

**Author:** ![arvydas](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/arvydas/32/242_2.png) [@arvydas](https://forums.blinkstick.com/u/arvydas)\
**Post date:** [November 18, 2016, 8:28pm UTC](https://forums.blinkstick.com/t/blinkstick-flex-syncron/631/3 "2016-11-18T20:28:48Z")

</div>

@BenS just initialize an array of 32\*3 bytes and you should be good to go!

byte[] data = new byte[32\*3]; //GRB format  
data[10] = 255;  
// and so on  
blink.SetColors(0,data);

More details about the function can be found here:

[http://arvydas.github.io/BlinkStickDotNet/class\_blink\_stick\_dot\_net\_1\_1\_blink\_stick.html#a7ec384e7e617ceb3acdfab7e1e7c631a](http://arvydas.github.io/BlinkStickDotNet/class_blink_stick_dot_net_1_1_blink_stick.html#a7ec384e7e617ceb3acdfab7e1e7c631a)

Just remember to add a timeout of 20 ms after you send each packet as BlinkStick needs to send the data to the LEDs and can’t communicate via USB.
