{
"version": 1,
"author": "Wilfried Klaas",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-arduino-uno", "id": "uno", "top": 66.34, "left": -0.76, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 312.4,
"left": 6.2,
"rotate": 270,
"attrs": { "color": "green", "label": "S1, SEL", "key": "s" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 312.4,
"left": 188.6,
"rotate": 270,
"attrs": { "color": "blue", "label": "S2, PRG", "key": "p" }
},
{
"type": "wokwi-pushbutton",
"id": "btn3",
"top": 312.4,
"left": 92.6,
"rotate": 270,
"attrs": { "color": "red", "label": "reset", "key": "r" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": -80.4,
"left": 144,
"attrs": { "color": "green", "label": "D4" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": -80.13,
"left": 187.14,
"attrs": { "color": "green", "label": "D3" }
},
{
"type": "wokwi-led",
"id": "led3",
"top": -80.4,
"left": 225.6,
"attrs": { "color": "green", "label": "D2" }
},
{
"type": "wokwi-led",
"id": "led4",
"top": -80.4,
"left": 273.6,
"attrs": { "color": "green", "label": "D1" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": -0.2,
"left": 266.6,
"rotate": "90",
"attrs": { "value": "1400" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": -0.2,
"left": 141.8,
"rotate": "90",
"attrs": { "value": "1400" }
},
{
"type": "wokwi-resistor",
"id": "r3",
"top": -0.2,
"left": 180.2,
"rotate": "90",
"attrs": { "value": "1400" }
},
{
"type": "wokwi-resistor",
"id": "r4",
"top": -0.2,
"left": 218.6,
"rotate": "90",
"attrs": { "value": "1400" }
},
{
"type": "wokwi-slide-switch",
"id": "sw1",
"top": -72.4,
"left": 348.7,
"attrs": { "label": "SW4", "key": "4" }
},
{
"type": "wokwi-slide-switch",
"id": "sw2",
"top": -72.4,
"left": 396.7,
"attrs": { "label": "SW3", "key": "3" }
},
{
"type": "wokwi-slide-switch",
"id": "sw3",
"top": -72.4,
"left": 444.7,
"attrs": { "label": "SW2", "key": "2" }
},
{
"type": "wokwi-slide-switch",
"id": "sw4",
"top": -72.4,
"left": 492.7,
"attrs": { "label": "SW1", "key": "1" }
},
{
"type": "wokwi-led",
"id": "led5",
"top": -80.4,
"left": -52.8,
"attrs": { "color": "red", "label": "PWM2" }
},
{
"type": "wokwi-resistor",
"id": "r5",
"top": -0.96,
"left": -53.69,
"rotate": "90",
"attrs": { "value": "1400" }
},
{
"type": "wokwi-led",
"id": "led6",
"top": -80.4,
"left": -4.8,
"attrs": { "color": "red", "label": "PWM1" }
},
{
"type": "wokwi-resistor",
"id": "r6",
"top": -0.2,
"left": -11.8,
"rotate": "90",
"attrs": { "value": "1400" }
},
{
"type": "wokwi-slide-potentiometer",
"id": "pot1",
"top": 245,
"left": 325.4,
"attrs": { "travelLength": "30", "label": "ADC2" }
},
{
"type": "wokwi-slide-potentiometer",
"id": "pot2",
"top": 331.4,
"left": 325.4,
"attrs": { "travelLength": "30", "label": "ADC2" }
}
],
"connections": [
[ "r2:1", "led1:A", "green", [ "h0" ] ],
[ "r3:1", "led2:A", "green", [ "h0" ] ],
[ "r4:1", "led3:A", "green", [ "h0" ] ],
[ "r1:1", "led4:A", "green", [ "h0" ] ],
[ "led1:C", "uno:GND.1", "black", [ "v19.2", "h-44.8" ] ],
[ "led1:C", "led2:C", "black", [ "v0" ] ],
[ "led2:C", "led3:C", "black", [ "v0" ] ],
[ "led3:C", "led4:C", "black", [ "v0" ] ],
[ "r1:2", "uno:4", "green", [ "h0", "v27.4", "h-76.8" ] ],
[ "r4:2", "uno:5", "green", [ "h0", "v17.8", "h-38.4" ] ],
[ "r3:2", "uno:6", "green", [ "h0" ] ],
[ "r2:2", "uno:7", "green", [ "h0", "v8.2", "h19.2" ] ],
[ "uno:11", "btn1:1.r", "green", [ "v-23.12", "h-179.26", "v194.42" ] ],
[ "uno:RESET", "btn3:1.r", "red", [ "v24.24", "h-21.57" ] ],
[ "uno:8", "btn2:1.r", "blue", [ "v-13.54", "h120.25", "v223.16", "h-96.73" ] ],
[ "led6:C", "uno:GND.1", "black", [ "v7.06", "h118.13" ] ],
[ "led6:A", "r6:1", "green", [ "v0" ] ],
[ "led5:A", "r5:1", "green", [ "v0" ] ],
[ "uno:9", "r6:2", "violet", [ "v-28.8", "h-8.8", "v-9.6", "h-144" ] ],
[ "r5:2", "uno:10", "violet", [ "h19.2", "v17.8", "h163.2" ] ],
[ "led5:C", "led6:C", "black", [ "v9.6", "h36.8" ] ],
[ "uno:3", "sw1:2", "gold", [ "v-19.2", "h128.8" ] ],
[ "sw2:2", "uno:2", "gold", [ "v105.6", "h-163.1" ] ],
[ "sw3:2", "uno:1", "gold", [ "v105.6", "h-124.7" ] ],
[ "sw4:2", "uno:0", "gold", [ "v105.6", "h-67.1" ] ],
[ "uno:GND.3", "btn3:2.r", "black", [ "v39.76", "h-43.84" ] ],
[ "btn3:2.r", "btn1:2.r", "black", [ "v-13.8", "h-84.6" ] ],
[ "btn3:2.r", "btn2:2.r", "black", [ "v-13.8", "h88.2" ] ],
[ "led4:C", "sw1:3", "black", [ "v9.6", "h65.6" ] ],
[ "sw1:3", "sw2:3", "black", [ "v9.6", "h48.2" ] ],
[ "sw2:3", "sw3:3", "black", [ "v9.6", "h48.2" ] ],
[ "sw3:3", "sw4:3", "black", [ "v9.6", "h48.2" ] ],
[ "uno:A0", "pot1:SIG", "green", [ "v30.16", "h90.36", "v19.2" ] ],
[ "uno:A1", "pot2:SIG", "green", [ "v30.16", "h80.86", "v105.6" ] ],
[ "pot1:VCC", "uno:5V", "red", [ "h0" ] ],
[ "pot1:VCC", "pot2:VCC", "red", [ "h-19.2", "v86.4" ] ],
[
"btn2:2.r",
"pot2:GND",
"black",
[ "v-4.2", "h49.8", "v38.4", "h268.8", "v19.2", "h-19.2" ]
],
[ "pot2:GND", "pot1:GND", "black", [ "v0" ] ]
]
}