Please show more info about your setup. What are the types of the chips on your panel? - There are should be at least two groups of IC in matrix, usually three.
#if (SKETCH_MODE == MODE_MAP_REVERSE_ENGINEERING)
const uint16_t kMatrixWidth = 32; // must be multiple of 8
const uint16_t kMatrixHeight = 16;
const uint8_t kPanelType = SM_PANELTYPE_HUB75_16ROW_MOD8SCAN; #endif
in MatrixPanelMaps.cpp
// use this for all linear panels (e.g. panels that draw a single left-to-right line for each RGB channel)
const PanelMappingEntry defaultPanelMap =
{
{0, 32, 32},
{8, 0, 32},
{0, 0, 0} // last entry is all zeros
// #endif
};
good news, it means that your panel is compatible with the library code
About your config - it seems to me, that if you have a 64x32 matrix, you have to configure the library for the panel of the 64 width and 32 height and not for 128x16 or 32x16
i tested #if (SKETCH_MODE == MODE_MAP_REVERSE_ENGINEERING)
const uint16_t kMatrixWidth = 64; // must be multiple of 8
const uint16_t kMatrixHeight = 32;
const uint8_t kPanelType = SM_PANELTYPE_HUB75_16ROW_MOD8SCAN; #endif
no display with mapping:
{0,0,32},
{0, 0, 0} // last entry is all zeros
no display with mapping:
{0, 32, 32},
{0, 96, 32},
{8, 0, 32},
{8, 64, 32},
{0, 0, 0} // last entry is all zeros
display with mapping:
{0, 32, 32},
{0, 96, 32},
{0, 0, 32},
{0 64, 32},
{0, 0, 0} // last entry is all zeros
but wrong: Pixel run left to right on line: 0 → 7 then 16->23 then 8->15 then 24->31
thank all,
i downloaded not release library. it have SM_PANELTYPE_HUB75_32ROW_64COL_MOD8SCAN
then changed width = 32, height = 64
and set mapping is
{0, 32, 32},
{0, 96, 32},
{8, 0, 32},
{8, 64, 32},
{0, 0, 0} // last entry is all zeros