json
复制代码
{
"version": 1,
"author": "Uri Shaked",
"editor": "wokwi",
"parts": [
{
"type": "chip-scope",
"id": "scope1",
"top": 135.42,
"left": 369.6,
"attrs": {
"sampleTimeUs": "100",
"sampleTimeMs": "0",
"triggerChannel": "0",
"triggerMode": "1",
"crtColor": "0",
"trace0Color": "14",
"trace1Color": "12",
"trace2Color": "10",
"trace3Color": "2"
}
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": 48.76, "left": 163.2, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd1", "top": 192, "left": 297, "attrs": {} },
{
"type": "wokwi-resistor",
"id": "r1",
"top": 109.55,
"left": 172.8,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 54.2,
"left": 307.2,
"attrs": { "color": "green", "xray": "1" }
}
],
"connections": [
[ "vcc1:VCC", "r1:1", "red", [ "v0" ] ],
[ "btn2:1.l", "r1:2", "green", [ "h-48", "v48" ] ],
[ "btn2:2.l", "gnd1:GND", "green", [ "h0" ] ],
[ "scope1:D0", "btn2:1.r", "green", [ "h-28.8", "v-28.8", "h86.4", "v-57.6" ] ]
],
"dependencies": { "chip-scope": "github:Dlloydev/Wokwi-Chip-Scope@1.0.7" }
}