In another post @tonyno helped me to found the custom mapping option which is what i need for my project.
So i made the changes and i recompile the project and load it in esp32
the custom mapping is like the following :
//enable custom per-LED mapping. This can allow for better effects on matrices or special displays
#define WLED_CUSTOM_LED_MAPPING#ifdef WLED_CUSTOM_LED_MAPPING
//for my project i need the following mapping is what i needconst uint16_t customMappingTable = {0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 12, 14, 15, 16, 17, 21, 22, 24, 28, 32, 33, 34, 35,
36, 38, 42, 48, 52, 54, 56, 59, 61, 62, 63, 64, 65, 67, 70, 71, 73, 74, 75, 78, 79, 80, 87, 90, 95, 97, 98, 99, 100, 106,
108, 116, 118, 121, 123, 125, 126, 129, 131, 133, 134, 136, 139, 140, 142, 148, 152, 153, 158, 164, 165, 166, 167, 170,
172, 174, 176, 182, 183, 187, 190, 196, 199, 204, 206, 207, 208, 209, 213, 214, 215, 216, 217, 218, 220, 224, 226, 227,
230, 231, 232, 8, 10, 13, 18, 19, 20, 23, 25, 26, 27, 29, 30, 31, 37, 39, 40, 41, 43, 44, 45, 46, 47, 49, 50, 51, 53, 55,
57, 58, 60, 66, 68, 69, 72, 76, 77, 81, 82, 83, 84, 85, 86, 88, 89, 91, 92, 93, 94, 96, 101, 102, 103, 104, 105, 107, 109,
110, 111, 112, 113, 114, 115, 117, 119, 120, 122, 124, 127, 128, 130, 132, 135, 137, 138, 141, 143, 144, 145, 146, 147, 149,
150, 151, 154, 155, 156, 157, 159, 160, 161, 162, 163, 168, 169, 171, 173, 175, 177, 178, 179, 180, 181, 184, 185, 186, 188, 189,
191, 192, 193, 194, 195, 197, 198, 200, 201, 202, 203, 205, 210, 211, 212, 219, 221, 222, 223, 225, 228, 229};
`
But when i test the project in a spare led strip before use it in my project, something is not working as it should…probably something i am missing here.
My project is a tree, the custom mapping start with led’s which are on the wooden parts of the tree and after continues with the led’s which are on the leaves of the tree.
So now i must create 2 segments , 1 will be from led 0 to led 232 (for custom mapping) and the second will be from led 8 to led 229 (for custom mapping) wood and leaves.
But when i create the first segment 0 - 232 lights up all the 232 Led’s in strip, except the 3rd before the end.
when i create the second segment 8 - 229 lights up from led 8 to 229 except led’s 226,225,222,220 which is totally wrong…
i can’t understand why is this happen , can someone have any idea?
Thank you
code screenshot : Screenshot by Lightshot