{
"version": 1,
"author": "Jimmy txt",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-pi-pico",
"id": "pico",
"top": 117.19,
"left": -31.74,
"attrs": { "env": "micropython-20230426-v1.20.0" }
},
{
"type": "wokwi-lcd1602",
"id": "lcd1",
"top": 73.6,
"left": 207.2,
"attrs": { "pins": "i2c" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": 246,
"left": 148.2,
"attrs": { "color": "red", "flip": "" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": 246,
"left": 215,
"attrs": { "color": "limegreen" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 373.8,
"left": 60.6,
"rotate": 90,
"attrs": { "color": "green", "bounce": "0" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 373.8,
"left": 137.4,
"rotate": 90,
"attrs": { "color": "green", "bounce": "0" }
},
{
"type": "wokwi-text",
"id": "led3",
"top": 336,
"left": 67.2,
"attrs": { "text": "Button 1" }
},
{
"type": "wokwi-text",
"id": "led4",
"top": 336,
"left": 144,
"attrs": { "text": "Button 2" }
},
{ "type": "wokwi-servo", "id": "servo1", "top": -21.2, "left": 144, "attrs": {} },
{ "type": "wokwi-potentiometer", "id": "pot1", "top": 353.9, "left": 278.2, "attrs": {} },
{
"type": "wokwi-slide-potentiometer",
"id": "pot2",
"top": 302.6,
"left": 392.6,
"attrs": { "travelLength": "30" }
}
],
"connections": [
[ "pico:VBUS", "lcd1:VCC", "red", [ "h51.77", "v11.52" ] ],
[ "lcd1:GND", "pico:VSYS", "black", [ "h-50.43", "v10.61" ] ],
[ "pico:GP0", "lcd1:SDA", "blue", [ "h-15.54", "v-16.44", "h93.64", "v32.51" ] ],
[ "pico:GP1", "lcd1:SCL", "green", [ "h-20.75", "v-31.24", "h104.05", "v44.22" ] ],
[ "pico:GP27", "led1:C", "green", [ "h65.34", "v81.26" ] ],
[ "pico:VSYS", "led1:A", "black", [ "h74.94", "v110.06", "h86.4", "v28.8" ] ],
[ "pico:VSYS", "led2:A", "black", [ "h74.94", "v110.06", "h96", "v67.2", "h28.8" ] ],
[ "pico:GP26", "led2:C", "green", [ "h55.74", "v90.86", "h134" ] ],
[ "btn2:1.r", "btn1:1.r", "black", [ "v19.4", "h-9.6" ] ],
[ "pico:GND.4", "btn1:1.r", "black", [ "h-22.26", "v148.46", "h153.6" ] ],
[ "pico:GP19", "btn1:2.r", "green", [ "h17.34", "v148.46" ] ],
[ "pico:GP20", "btn2:2.r", "green", [ "h36.54", "v71.66", "h57.6", "v86.4" ] ],
[ "pico:3V3", "servo1:V+", "red", [ "h26.94", "v-129.94" ] ],
[ "pico:GND.8", "servo1:GND", "black", [ "h36.54", "v-120.34" ] ],
[ "pot1:GND", "btn2:1.r", "black", [ "v28.8", "h-124.8" ] ],
[ "pico:GP21", "servo1:PWM", "gold", [ "h46.14", "v-206.74", "h9.6" ] ],
[ "pico:3V3", "pot2:VCC", "green", [ "h122.94", "v62.06", "h182.4", "v105.6" ] ],
[ "pico:GP28", "pot2:SIG", "yellow", [ "h142.14", "v52.46", "h192", "v124.8" ] ]
],
"dependencies": {}
}
Button 1
Button 2