3 ms·
Good job with the display, looks great. Question: when you separated and reattached the LEDs, did you keep them in original order when reattaching? I seem to r
by jroseattle 15y ago
Good job with the display, looks great.
Question: when you separated and reattached the LEDs, did you keep them in original order when reattaching? I seem to recall each LED node having a unique address, but maybe I'm misinterpreting.
- jgrahamc 15y agoNo, I did not keep the in the same order. In fact when the LEDs power up they are waiting for the first packet to arrive and they will use the address in that packet to set the address for that LED. Until an LED has received its first packet it will not forward packets on. So that allows you to program the LEDs with arbitrary addresses. I make use of this to program addresses that are easy to encode for the 7x7 display (each address is six bits so I use 3 bits for X and 3 bits for Y). This is complicated by the physical snaking layout on the board. See the code sample in the blog post for how this works. https://github.com/jgrahamc/gece/blob/master/gece/protocol.cpp https://github.com/jgrahamc/gece/blob/master/gece/protocol.c...
- jroseattle 15y agoGood to know. Was going to hack up a set of these post-Christmas, and was under the impression that order of the LEDs needed to be maintained -- as if the addresses we're hardwired. Thanks for the post.