# Flex LED counter

**URL:** <https://forums.blinkstick.com/t/flex-led-counter/317>\
**Category:** Uncategorized\
**Created:** [November 27, 2015, 10:11am UTC](https://forums.blinkstick.com/t/flex-led-counter/317 "2015-11-27T10:11:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![p0ke](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/p0ke/32/14_2.png) [@p0ke](https://forums.blinkstick.com/u/p0ke)\
**Post date:** [November 27, 2015, 10:11am UTC](https://forums.blinkstick.com/t/flex-led-counter/317/1 "2015-11-27T10:11:34Z")

</div>

Good morning,

is there a small example of how to find out the amount of LEDs attached to a Flex?

---

<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 27, 2015, 10:15am UTC](https://forums.blinkstick.com/t/flex-led-counter/317/2 "2015-11-27T10:15:23Z")

</div>

Don’t have an example yet, but it’s done via report 0x81. Send to the report (like you set the mode on Pro) a number between 1 and 32 to set the number of LEDs and read the report to get the number of LEDs on the device. I was thinking of giving more options of Flex as 8, 16 and 32 LEDs, but for simplicity stuck with 32 LEDs only option in store.

---

<div class="post-metadata">

**Author:** ![p0ke](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/p0ke/32/14_2.png) [@p0ke](https://forums.blinkstick.com/u/p0ke)\
**Post date:** [November 27, 2015, 11:19am UTC](https://forums.blinkstick.com/t/flex-led-counter/317/3 "2015-11-27T11:19:59Z")

</div>

Thanks Arvy,  
reading works out of the box and factory settings are 32 LEDs.  
Setting the LEDs work also. But it does not change anything for the mirror mode, is that right? So I have always only 8 LEDs in mirror mode (3).

---

<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 27, 2015, 11:31am UTC](https://forums.blinkstick.com/t/flex-led-counter/317/4 "2015-11-27T11:31:01Z")

</div>

Yeah, mirror mode is only for 8 LEDs.

---

<div class="post-metadata">

**Author:** ![p0ke](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/p0ke/32/14_2.png) [@p0ke](https://forums.blinkstick.com/u/p0ke)\
**Post date:** [November 27, 2015, 11:34am UTC](https://forums.blinkstick.com/t/flex-led-counter/317/5 "2015-11-27T11:34:56Z")

</div>

Good to know, thanks 😄
