# Scrolling Text & 2D Matrix setup

**URL:** <https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757>\
**Category:** Issues\
**Created:** [November 4, 2023, 1:42pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757 "2023-11-04T13:42:19Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 4, 2023, 1:42pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/1 "2023-11-04T13:42:19Z")

</div>

I all, struggling to make sense of Scrolling Text which in turn is making me doubt if I have the matixes setup correctly in the first instance.

Currently I have two panels each on thier own GPIO.

 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/0/088b5d554dd22d4a2af57c555f73667af1dca203.png).

(as a new user I’m limited to one picture per post so there will be multiple posts)

---

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 4, 2023, 1:42pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/2 "2023-11-04T13:42:56Z")

</div>

![IMG_1612](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/1/1d9df7d0ccb437594646f9bd8cb8fcaa8844119d.jpeg)  
I have a Gap file to elimate the dead pixel (top and bottom) as the led string weaves around. I have both manually created the matixes and used the generator.

---

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 4, 2023, 1:43pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/3 "2023-11-04T13:43:33Z")

</div>

The text is sort of readable but then if you look closely the letters are back to front. In this shot we should see “Ayles” look at the y and e…

![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/6/63803d3a0e8962b38ce87b2ac8f944e42e4d7f9d.jpeg)

---

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 4, 2023, 1:44pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/4 "2023-11-04T13:44:12Z")

</div>

As an aside and this might reveal my lack of knowledge but whats the meaning of the eye & clock?  
 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/d/d6081ab7eb8e68b7c6ae66866d1f8ab0edce5216.png)

---

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 4, 2023, 1:44pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/5 "2023-11-04T13:44:46Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/f/f56d915e7cb5a4910f3322fcbdfec316e0f61951.png)

TIA

---

<div class="post-metadata">

**Author:** ![Enera](https://avatars.discourse-cdn.com/v4/letter/e/b77776/32.png) [@Enera](https://wled.discourse.group/u/Enera)\
**Post date:** [November 5, 2023, 5:33am UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/6 "2023-11-05T05:33:28Z")

</div>

> [@garym999](#):
>
> whats the meaning of the eye & clock?  
> ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/d/d6081ab7eb8e68b7c6ae66866d1f8ab0edce5216.png)

There is not really a meaning, It’s more like stopping the animation, if a clock show’s up: Animation is running, Eye: Animation stopped  
(Basically Freeze the animation)

Seems your LED string seems a little unequal to the desired parameters

---

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 5, 2023, 6:32pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/7 "2023-11-05T18:32:41Z")

</div>

Enera thanks for the tips re clock/eye.

I,m getting myself in a muddle with the matrix. Physically it is a string of 254 leds with 2.5cm spacing.  
The string starts bottom left and goes up 14 LEDs then one LED is to be wasted as it spans the gap horizontally and starts back down…

 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/b/b1ad9f040c7bc80d8ab6283b259d116d73cfc483.png)

The Grey LEDs need to be skipped and ideally turned off.

---

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 5, 2023, 7:39pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/8 "2023-11-05T19:39:25Z")

</div>

The matrix size I have used is 15H x 17W and used a gap file as follows…

![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/5/5b0e51b253819685471f1500d0d0d04fee4cf858.png)

The trouble is when scrolling text is that it bounces up and down one pixel as it scrolls. In the picture below I have frozen the time display, look at the : in the middle and see its stepped.

 ![IMG_1625](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/d/dfe6fddbcf65a77e9ec587499584e00220d13ab4.jpeg)

The matrix is really 14x17.

Is there a way I can skip every 15th LED in the physical string?

---

<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:** [November 6, 2023, 6:01am UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/9 "2023-11-06T06:01:55Z")

</div>

You will need to set up ledmap. Gap file works only if every LED is included within matrix. You have LEDs outside of the matrix.

---

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 6, 2023, 8:29am UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/10 "2023-11-06T08:29:21Z")

</div>

Thanks blazoncek, I had been playing with that but its sooo easy to make a typo and none of my attempts have worked.

To simplify it a little in my head I have dropped the concept of 2D maps and just configured a single string of 254 LEDs. Then I have applied this ledmap…  
 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/5/588968697dea3534fc1d8740859684a7a36c2aa6.png)  
but this is the result.

 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/6/6079cf6b7939e743247c6fdd017768074fcc674b.jpeg)

I was expecting the LED with the circle around it to be the first one thats not lit.

Just in case its relvent I’m using v0.14.0

---

<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:** [November 6, 2023, 9:02am UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/11 "2023-11-06T09:02:04Z")

</div>

When you use ledmap the panel orientation (or number of panels) is meaningless.  
You must map each and every LED participating in a matrix by visually placing each LED index (ID) into appropriate matrix X and Y coordinates.

I.e. the LED circled in red above does not belong into ledmap file. Your first entry in a ledmap should be 14 as that is the index (ID) of the first LED in the top-left corner.

---

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 6, 2023, 12:52pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/12 "2023-11-06T12:52:30Z")

</div>

I found [this](https://discord.com/channels/473448917040758787/801531333067014164/1116487765203374100) for reference.

I’m just not getting it. In my simple senario… I have a string of 30 LEDs and want to map out (-1) every 15th LED. This is my ledmap.json

![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/1/1bc450fe13c8abdfacf364d0d96a78dee83cea4e.png)  
but this is what I see

 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/7/73867bdd6fa8504b17287f727bb5495c32f41d0e.jpeg)  
If I change the map…  
 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/9/9f0c4571219e2f8110a9ee2bd0e4f59a94360fc9.png)  
Then the pixels I expect to be missing are. What am missing?

Needless to say the next step, implementing the matrix its all messed up.

---

<div class="post-metadata">

**Author:** ![ALDIY](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/aldiy/32/2716_2.png) [@ALDIY](https://wled.discourse.group/u/ALDIY)\
**Post date:** [November 6, 2023, 2:26pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/13 "2023-11-06T14:26:42Z")

</div>

Not clear on aim and also not sure if you have a string of fixed address or not but in this picture why did you add -1 and still kept 14 , what i would do is 13,-1,15 ( if you want 14 to be off ) else try to just remove 14 from the map so …13, 15 …

 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/3/3f81e65a54cad13dc47a76e9f0e9ab07d330040e.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:** [November 6, 2023, 2:56pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/14 "2023-11-06T14:56:08Z")

</div>

Both incorrect. There is no need to add -1 if the LED is **not included** in the matrix. Just do not enter it into ledmap file.

```auto
{"map":[
 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,
28,27,26,25,24,23,22,21,20,19,18,17,16,15,
30,...
]}

```

I said “visually place index into matrix layout”.

---

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 6, 2023, 3:22pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/15 "2023-11-06T15:22:51Z")

</div>

There you go all me as you knew. Just could not get my head around it.

Got one panel working.  
LED string of 255 LEDs, every 15th skipped. With this ledmap.json  
 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/d/dd314e10bdd4a6a26e99706279168d56e25ca1f4.png)  
Then configured a 2D matrix with 17W x 14H matrix.

 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/a/a5347f55be6d23c6d023848c5b478ca452533b8e.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/4/4d810a4a11fdb80cea3a6601f20bfa496d770330.jpeg)

Now have to do this for an additional 3 panels each on its own GPIO in a 4W x 1H config.

Thanks all

---

<div class="post-metadata">

**Author:** ![ALDIY](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/aldiy/32/2716_2.png) [@ALDIY](https://wled.discourse.group/u/ALDIY)\
**Post date:** [November 6, 2023, 3:23pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/16 "2023-11-06T15:23:26Z")

</div>

Not true , 13,-1,15 will make 14 off

---

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 6, 2023, 3:50pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/17 "2023-11-06T15:50:38Z")

</div>

Simple when you know how 😀  
 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/d/d9bb11daaf028efb14cb7caaae252b7142036bbb.jpeg)

---

<div class="post-metadata">

**Author:** ![ALDIY](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/aldiy/32/2716_2.png) [@ALDIY](https://wled.discourse.group/u/ALDIY)\
**Post date:** [November 6, 2023, 3:57pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/18 "2023-11-06T15:57:28Z")

</div>

Very good for you , looks great

---

<div class="post-metadata">

**Author:** ![garym999](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@garym999](https://wled.discourse.group/u/garym999)\
**Post date:** [November 6, 2023, 4:03pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/19 "2023-11-06T16:03:03Z")

</div>

Its that time of the year, prep for a Crimbo project. Once complete I’ll post a pic or too.

---

<div class="post-metadata">

**Author:** ![ALDIY](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/aldiy/32/2716_2.png) [@ALDIY](https://wled.discourse.group/u/ALDIY)\
**Post date:** [November 6, 2023, 4:12pm UTC](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757/20 "2023-11-06T16:12:07Z")

</div>

Cool , can you also with that post the source of the strip you are using

[Next page](https://wled.discourse.group/t/scrolling-text-2d-matrix-setup/9757.md?page=2)
