Editing like a boss, I mean I figured it out already using the panel mapping.
adding :
const PanelMappingEntry defaultPanelMap[] =
{
{0, 3, 13},
{0, 19, 13},
{0, 0, 0} // last entry is all zeros
};
did work… however, I noticed there is a small problem.
if I compile
{0, 0, DEFAULT_PANEL_WIDTH_FOR_LINEAR_PANELS},
{0, 0, 0} // last entry is all zeros
I will get the normal image like the image downbelow.
then I compile with the change I did above, then it normally displays.
(see post 1 below)
after a powercycle the Teensy 3.1 it messes up the entire image.
(see post 2 below)
To get it back I have to change the panel mapping with “DEFAULT_PANEL_WIDTH_FOR_LINEAR_PANELS” and change it back to my value’s.
Is this normal?
Thanks,
Appelza
old.
Hello,
First, I really appreciate your great work!
Second, I recently grabbed a LED Panel from the dumpster which has 52x52 pixels on there. I hooked it up like the HUB75 panels, but the mapping seems not to be right.
I need to skip 3 pixels every 13 horzontal pixels.
The shift register they used has 16outputs, but they left 3 outputs unconnected to have 52pixels in total. (same as in vertical rows, but I could easily change that in the code from 16 to 13)
what lines do I need to add/modify?
backgroundLayer.drawLine(63, 0, 0, 31, white);
backgroundLayer.drawLine(63, 31, 0, 0, white);
Thanks!
Appelza