mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-24 00:19:48 +00:00
7 lines
347 B
JavaScript
7 lines
347 B
JavaScript
|
const foo = [["CE1", "35"], ["CE0", "52"], ["SCLK", "50"], ["MISO", "48"], ["MOSI", "49"], ["RXD", "132"], ["TXD", "131"], ["SCL", "46"], ["SDA", "47"], ["P0", "138"], ["P1", "29"], ["P2", "139"], ["P3", "28"], ["P4", "59"], ["P5", "58"], ["P6", "92"], ["P7", "54"]];
|
||
|
|
||
|
// console.log(foo["CE0"]);
|
||
|
|
||
|
let bar = JSON.stringify(foo);
|
||
|
|
||
|
console.log(bar);
|