Ledmap.json new mapping process

Hi,

With previous version (0.11) this was my custom mapping. Then i was created 2 segments (first : 0-104 and second : 104-232 ) custom mapping worked fine.

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

With new version 0.12 i have some issues… something i am doing wrong obviously.

I have create the ledmap.json file from /edit with this custom mapping :

{"map":[
  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 create the same 2 segments (first : 0-104 and second : 104-232 ) it does not work as expected , do i need to change something else?

Best regards

At one time, spaces would break it. Not sure if that was changed.

Sorry, What does this mean?

I think the 104 should be 104 and 105 or 103 and 104. Try it and see if you skip a pixel or it uses them all.

Thanks for the replies guys,

Not sure what exactly you suggest ,

i will scale down the example to be more clear.

Lets say that i have 20 led’s in total.

First segment is :

0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 15, 17

this segment does not include led 8 , 10, 12, 13, 14, 16

Second segment is :

8 , 10, 12, 13, 14, 16, 18, 19, 20

the problem is led’s 8 , 10, 12, 13, 14, 16 not lighting up, second segment lighting up only 18, 19, 20

and this happen only to new version 0.12 version 0.11 works fine.

Oh segments need to be continuous I do believe

So what you suggest me to try?

I can’t be right in thinking that the led numbers can’t overlap in the mappings or it wouldn’t work in v11.

So there is no solution for this issue, i suppose that is a “bug” of new version. Where do i have to report it for future updates?

Best regards

I’m having the same - or at least a similar - issue to this. Any solutions?

Edit This seems to be fixed in the latest Beta (13.0.b5) although I couldnt find it in the changelog.

2 Likes