Shorts1999 / pxt-smartmatrix

Makecode extension for ws2812b matrices
https://shorts1999.github.io/pxt-smartmatrix/
MIT License
5 stars 7 forks source link

zigzag pattern question #7

Open fredkoot opened 1 year ago

fredkoot commented 1 year ago

Hi Sjors, We are going to try this code with ledstrips. We are only discussing what the right way is to build the zigzag pattern. You write: IMPORTANT NOTE: The extension only works with matrices made in a "column-zigzag pattern" meaning the matrix is made of strips in a zig-zag pattern going up and down. The display can be any size you like, as long as the strips are laid out with this pattern in mind.

Do you mean:

Thanks for providing this code. If we get this working, lots of kids are going to enjoy this we think. regards, Fred

Shorts1999 commented 1 year ago

Hello, it has been a while since I have worked with this code but if I recall correctly it means:

Starting on the top left the strip goes down The second strip starts at the bottom and goes to the top The third starts at the top and goes down to the bottom

etc...

I have unfortunately not been able to find time to work on this more, but I do still plan to add suport for different configuration sometime in the future. I am really glad the library still gets used and is helpful in teaching children programming in a fun way!

I hope that in the near future I can find the time to continue work on this.

dsssssssss9 commented 6 months ago

@Shorts1999 any luck adding different matrix types to this great extension yet ?

Shorts1999 commented 5 months ago

I have not worked on this repository for a while unfortunately. I did recently get my hands on some Micro:bits again so I could do some work again soon. Any specific type of display you are looking to have added? I could focus on that first if it helps