Closed scottchiefbaker closed 5 years ago
The display you have is monochrome with 1 chip / segment? The explanation for the shifted half is easy - that part of display displays previous frame - because it thinks you have only 2 segments. Did you check all the constants in the example? Line 11 (width, should be 32), line 13 (segments, should be 4). Try running some custom code that for example writes all pixels. If this one works I'll take a look at the example code and fix it. Let me know.
Oh that explains it... I just tried 32x8x4 and it works perfectly. I had it in my head it wanted the dimension of EACH segment.
I didn't write these examples, they were contributed by somebody else. In my own code I have just a single constant that is number of segments and I calculate everything based on that one.
Feel free to add comments or reorganize the code from examples if you have time :) Cheers :)
I picked up an LED Matrix from Ebay and I'm trying to use your library to interface with it. I've cabled it up per the specs and using the Marquee Text example I get the following output.
I'm assuming the dimensions should be 8x8 and four segments? When I use that only the last two segments light up. If I set it to 8x8 and two segments the above image is showed. The same text is shown on the left and right halves, and the left half is off by one pixel. I feel like I'm missing something really obvious, but I've tried everything I can think of.