Sooo, I’ve finally done the wiring and finished with the mapping, but the resulting map doesn’t work. I went and done the mapping again and it had the same result. I have done this before and it’s the first map that isn’t working properly.
I’ve done the mapping with this:
const uint16_t kMatrixWidth = 512; // 128x64/16
const uint8_t kMatrixHeight = 16; // 1/8 scan
const uint8_t kPanelType = SMARTMATRIX_HUB75_16ROW_MOD8SCAN;
const uint8_t kRefreshDepth = 24;
const uint8_t kDmaBufferRows = 2;
const uint8_t kMatrixOptions = (SMARTMATRIX_OPTIONS_NONE);
const uint8_t kBackgroundLayerOptions = (SM_BACKGROUND_OPTIONS_NONE);
And this is the result:
const PanelMappingEntry panelMapP5_2727_128x64[] = {
{0,448,64},
{0,320,64},
{8,384,64},
{8,256,64},
{32,192,64},
{32,64,64},
{40,128,64},
{40,0,64},
{0,0,0}
};
buuut it does not work.
The last 16 rows behave strangely:
- they are a whitish-greenish color;
- they all flash up whenever 1 led from the first 16 top rows lights up;
- through the flashes they also do the same thing as the first rows: so they go from left to right, from 0 to 127, the whole width.
So I basically have obtained two 16 rows identical behaviors with the sole difference that one of them flashes and doesn’t have the right colors.
MODE_MAP_TESTING
actually goes from left to right 128 LEDs, but it goes only the first 16 rows from top to bottom all the while the last 16 rows are flashing. Then, after a while, it continues from row 16 until it “walks” the whole 128x64 display. The flashing never stops, and the last 16 rows leds still remain the wrong color.
20190805-173543.jpg
Does this mean that it can’t be done ?