{
"version": 1,
"author": "Manas Kesharwani",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-pi-pico",
"id": "pico",
"top": -79.95,
"left": -6,
"attrs": { "env": "micropython-20241129-v1.24.1" }
},
{ "type": "wokwi-ky-040", "id": "encoder1", "top": -94.3, "left": -221.6, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": -3.4,
"left": -240,
"attrs": { "color": "blue", "xray": "1" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 15.8,
"left": -144,
"attrs": { "color": "blue", "xray": "1" }
},
{
"type": "wokwi-pushbutton",
"id": "btn3",
"top": 83,
"left": -211.2,
"attrs": { "color": "green", "xray": "1" }
},
{
"type": "wokwi-pushbutton",
"id": "btn4",
"top": 102.2,
"left": -115.2,
"attrs": { "color": "red", "xray": "1" }
},
{ "type": "wokwi-led", "id": "led1", "top": 92.4, "left": -44.2, "attrs": { "color": "red" } },
{
"type": "wokwi-lcd1602",
"id": "lcd1",
"top": -252.8,
"left": -224.8,
"attrs": { "pins": "i2c" }
}
],
"connections": [
[ "encoder1:GND", "pico:GND.1", "black", [ "h0" ] ],
[ "pico:GP10", "encoder1:CLK", "green", [ "h-19.2", "v-144" ] ],
[ "pico:GP11", "encoder1:DT", "green", [ "h-28.8", "v-144" ] ],
[ "pico:GP12", "encoder1:SW", "green", [ "h-38.4", "v-144" ] ],
[ "pico:GP7", "btn2:1.r", "green", [ "h-67.2", "v38.4" ] ],
[ "pico:GP6", "btn1:1.r", "green", [ "h-172.8", "v48" ] ],
[ "pico:GP8", "btn3:1.r", "green", [ "h-57.6", "v67.2", "h-86.6" ] ],
[ "pico:GP9", "btn4:1.r", "green", [ "h-48", "v86.4" ] ],
[ "led1:A", "pico:GP15", "green", [ "v0", "h67.2" ] ],
[ "lcd1:SCL", "pico:GP5", "green", [ "h-9.6", "v0.3" ] ],
[ "lcd1:SDA", "pico:GP4", "green", [ "h-19.2", "v182.6" ] ],
[ "pico:GND.5", "led1:C", "black", [ "h10.8", "v48", "h-105.6" ] ],
[ "btn1:2.l", "btn2:2.l", "black", [ "v19.4", "h96" ] ],
[ "btn3:2.l", "btn4:2.l", "black", [ "h0", "v19.4" ] ],
[ "btn2:2.l", "btn3:2.l", "black", [ "h-76.8", "v67.4" ] ],
[ "btn4:2.l", "led1:C", "black", [ "h0", "v19.4", "h86.4" ] ],
[ "lcd1:GND", "btn1:2.l", "black", [ "h-28.8", "v249.6" ] ],
[ "encoder1:VCC", "pico:3V3", "red", [ "h96", "v-28.4", "h86.4", "v57.6" ] ],
[ "lcd1:VCC", "pico:3V3", "red", [ "h-38.4", "v105.7", "h345.6", "v76.8" ] ]
],
"dependencies": {}
}