# LED Count Detection

**URL:** <https://forums.blinkstick.com/t/led-count-detection/145>\
**Category:** Support\
**Created:** [March 9, 2015, 2:18pm UTC](https://forums.blinkstick.com/t/led-count-detection/145 "2015-03-09T14:18:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![themeq](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/themeq/32/70_2.png) [@themeq](https://forums.blinkstick.com/u/themeq)\
**Post date:** [March 9, 2015, 2:18pm UTC](https://forums.blinkstick.com/t/led-count-detection/145/1 "2015-03-09T14:18:40Z")

</div>

Is there a function to detect how many LED’s a blinkstick device has in .Net?

I could hardcode that the strip and square have 8 LED’s, but for the Pro, there is essentially, unlimited number of LED’s.

Thanks

---

<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:** [March 9, 2015, 2:37pm UTC](https://forums.blinkstick.com/t/led-count-detection/145/2 "2015-03-09T14:37:40Z")

</div>

There is no way to detect how many LEDs are on the [BlinkStick Pro](https://www.blinkstick.com/products/blinkstick-pro) when it’s in mode 2. This should be the setting in the UI for the user to configure and software should take care of sending the data to the correct number of LEDs.

BlinkStick serial number has software version major and minor numbers. For example BS000000-1.4 has **1** as major and **4** as minor software version number. Here is the full LED number logic for all BlinkStick devices.

- 1.x - [BlinkStick](https://www.blinkstick.com/products/blinkstick) with single LED pixel
- 2.x - [BlinkStick Pro](https://www.blinkstick.com/products/blinkstick-pro) (number of LEDs depend on mode)
- Mode 0 (RGB) - 1 LED
- Mode 1 (RGB inverse) - 1 LED
- Mode 2 (Multi-LED) - up to 64 LEDs on each R, G and B channel
- 3.x - [BlinkStick Strip](https://www.blinkstick.com/products/blinkstick-strip) or [BlinkStick Square](https://www.blinkstick.com/products/blinkstick-square)
- Mode 2 (Multi-LED) - 8 LEDs
- Mode 3 (Multi-LED Mirror) - 8 LEDs all light up with the same color

Hope this helps 😃

---

<div class="post-metadata">

**Author:** ![themeq](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/themeq/32/70_2.png) [@themeq](https://forums.blinkstick.com/u/themeq)\
**Post date:** [March 9, 2015, 3:34pm UTC](https://forums.blinkstick.com/t/led-count-detection/145/3 "2015-03-09T15:34:11Z")

</div>

Fantastic! Thanks for this!
