Hear me out before you laugh...
I have some JSON that will look like this:
There will be up to 72 of these in a single JSON payload.
I need to create a 12x6 grid that will hold this data. HOWEVER, the order needs to start from the bottom left, for example:
6 | 7 | 18 | 19 | 30 | 31 | 42 | 43 | 54 | 55 | 66 | 67
5 | 8 | 17 | 20 | 29 | 32 | 41 | 44 | 53 | 56 | 65 | 68
4 | 9 | 16 | 21 | 28 | 33 | 40 | 45 | 52 | 57 | 64 | 69
3 | 10 | 15 | 22 | 27 | 34 | 39 | 46 | 51 | 58 | 63 | 70
2 | 11 | 14 | 23 | 26 | 35 | 38 | 47 | 50 | 59 | 62 | 71
1 | 12 | 13 | 24 | 25 | 36 | 37 | 48 | 49 | 60 | 61 | 72
I'm using for loops to create the grid, but what about getting the data in the right place?
I have some JSON that will look like this:
Code
{
"1": {
"tileRef": 1,
"cpuVersion": "47C8",
"fpgaVersion": "5C04",
"fanSpeed": 0,
"temperature": 24,
"fps": 60,
"status": "OK"
},There will be up to 72 of these in a single JSON payload.
I need to create a 12x6 grid that will hold this data. HOWEVER, the order needs to start from the bottom left, for example:
6 | 7 | 18 | 19 | 30 | 31 | 42 | 43 | 54 | 55 | 66 | 67
5 | 8 | 17 | 20 | 29 | 32 | 41 | 44 | 53 | 56 | 65 | 68
4 | 9 | 16 | 21 | 28 | 33 | 40 | 45 | 52 | 57 | 64 | 69
3 | 10 | 15 | 22 | 27 | 34 | 39 | 46 | 51 | 58 | 63 | 70
2 | 11 | 14 | 23 | 26 | 35 | 38 | 47 | 50 | 59 | 62 | 71
1 | 12 | 13 | 24 | 25 | 36 | 37 | 48 | 49 | 60 | 61 | 72
I'm using for loops to create the grid, but what about getting the data in the right place?
aint my sig design skills sick?



![[Image: fpZ5a5g.png]](https://i.imgur.com/fpZ5a5g.png)