# In need for diferent output on 4 pins WLED

**URL:** <https://wled.discourse.group/t/in-need-for-diferent-output-on-4-pins-wled/6175>\
**Category:** Usermods\
**Created:** [October 24, 2022, 12:09am UTC](https://wled.discourse.group/t/in-need-for-diferent-output-on-4-pins-wled/6175 "2022-10-24T00:09:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pafly2](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pafly2/32/3739_2.png) [@Pafly2](https://wled.discourse.group/u/Pafly2)\
**Post date:** [October 24, 2022, 12:09am UTC](https://wled.discourse.group/t/in-need-for-diferent-output-on-4-pins-wled/6175/1 "2022-10-24T00:09:41Z")

</div>

Hello,  
I have a project with a clock where every digit has its own pin. How can i let the usermod know i want the output of hours on pin 4 and the output of minutes on pin 3?

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [October 24, 2022, 8:45pm UTC](https://wled.discourse.group/t/in-need-for-diferent-output-on-4-pins-wled/6175/2 "2022-10-24T20:45:44Z")

</div>

You can’t. You can set up segments and use those.

---

<div class="post-metadata">

**Author:** ![Pafly2](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pafly2/32/3739_2.png) [@Pafly2](https://wled.discourse.group/u/Pafly2)\
**Post date:** [October 26, 2022, 10:16am UTC](https://wled.discourse.group/t/in-need-for-diferent-output-on-4-pins-wled/6175/3 "2022-10-26T10:16:16Z")

</div>

Hello @blazoncek and thank you for your answear.

So i tried using this:  
 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/5/525e638bf0fd6c5a641449a2933c29d437c594d9.png)

But the thing is, it doesn’t affect the pins… i just have to set it manualy in the settings section.

I am using an ESP-WROOM-02DC, and using the FastLed lib, it used to work well.  
How and in what file i can use the segments? In app i can only get up to 3 segments and i need at least 4.

Many thanks

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [October 26, 2022, 11:42am UTC](https://wled.discourse.group/t/in-need-for-diferent-output-on-4-pins-wled/6175/4 "2022-10-26T11:42:17Z")

</div>

You are doing it wrong. Look at other examples in platformio.ini or look up PlatformIO documentation on creating build environment.

---

<div class="post-metadata">

**Author:** ![Pafly2](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/pafly2/32/3739_2.png) [@Pafly2](https://wled.discourse.group/u/Pafly2)\
**Post date:** [October 26, 2022, 12:50pm UTC](https://wled.discourse.group/t/in-need-for-diferent-output-on-4-pins-wled/6175/5 "2022-10-26T12:50:37Z")

</div>

Hello @blazoncek and thanks for your answear,  
I just found that i can use FastLED lib in the isermod so i can play a little with that.  
Just to be sure about the platformio, i tried like this, is this ok? or maybe it still dosent work becouse its an esp8266?  
 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/9/9ea585258f8f70789d863f1529d004bdbf8ef948.png)

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [October 26, 2022, 7:50pm UTC](https://wled.discourse.group/t/in-need-for-diferent-output-on-4-pins-wled/6175/6 "2022-10-26T19:50:01Z")

</div>

Recommended data pins for ESP8266 are 1, 2 and 3.  
Others may work but there were many reports of unstable WLED and frequent crashes.  
If you need more than 2 outputs consider ESP32.
