Panel Cailiang P5 64x32

i try with P5 Cailiang 64x32 too hard to mapping.

i tested with SM_PANELTYPE_HUB75_16ROW_MOD8SCAN, width 128, height 16;

{0, 32, 32},
{0, 96, 32},
{0, 0, 32},
{0, 64, 32},
{0, 0, 0} // last entry is all zeros

it can run but it run line 1 then line 9 then return line 2 then line 10 …

i tested width 32, height 16
SM_PANELTYPE_HUB75_16ROW_MOD8SCAN
{0, 32, 32},
{8, 0, 32},
{0, 0, 0} // last entry is all zeros

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.

What is your main (arduino) board?

ICN2037 and TC7258

#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
};

result lock like before

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

What is your arduino board?

arduino ide 2.1.1 and ESP32 core 1.0.6,

i will test again with 64x32. thank

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

:frowning:

Please show the video of the pixel run for first 3-4 rows from start

thank you

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

it run ok.

1 Like