{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-relay-module",
"id": "tiny1",
"top": -76.6,
"left": -134.4,
"attrs": { "transistor": "pnp" }
},
{
"type": "wokwi-slide-switch",
"id": "sw1",
"top": -110.8,
"left": -188.9,
"attrs": { "bounce": "0" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": -97.2,
"left": 25.8,
"rotate": 90,
"attrs": { "color": "orange" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": -48.8,
"left": 25.8,
"rotate": 90,
"attrs": { "color": "limegreen", "flip": "1" }
},
{
"type": "wokwi-vcc",
"id": "vcc1",
"top": -75.72,
"left": -207.95,
"rotate": 180,
"attrs": {}
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": -76.49, "left": -159.67, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc2", "top": -62.03, "left": 35.88, "rotate": 90, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd2", "top": 9.6, "left": 66.6, "attrs": {} }
],
"connections": [
[ "gnd1:GND", "sw1:3", "black", [ "v0" ] ],
[ "vcc1:VCC", "sw1:1", "red", [ "v0" ] ],
[ "sw1:2", "tiny1:IN", "green", [ "v0" ] ],
[ "vcc2:VCC", "tiny1:COM", "red", [ "v0" ] ],
[ "led1:A", "tiny1:NC", "gold", [ "v10.84", "h-51.64" ] ],
[ "led2:A", "tiny1:NO", "green", [ "h-1.74", "v-11.31" ] ],
[ "gnd2:GND", "led2:C", "black", [ "v-14.17", "h-53.31" ] ],
[ "led1:C", "gnd2:GND", "black", [ "h0.32", "v-13.15", "h47.13" ] ]
],
"dependencies": {}
}