{
"version": 1,
"author": "esp32-calculator-os",
"editor": "wokwi",
"parts": [
{ "type": "board-esp32-devkit-c-v4", "id": "esp", "top": 20, "left": 0, "attrs": {} },
{ "type": "chip-st7735", "id": "tft", "top": 32.1, "left": 447.08, "rotate": 90, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "up",
"top": 245,
"left": 390,
"attrs": { "color": "green", "label": "UP", "key": "ArrowUp", "bounce": "0" }
},
{
"type": "wokwi-pushbutton",
"id": "down",
"top": 365,
"left": 390,
"attrs": { "color": "green", "label": "DOWN", "key": "ArrowDown", "bounce": "0" }
},
{
"type": "wokwi-pushbutton",
"id": "left",
"top": 305,
"left": 320,
"attrs": { "color": "blue", "label": "LEFT", "key": "ArrowLeft", "bounce": "0" }
},
{
"type": "wokwi-pushbutton",
"id": "right",
"top": 305,
"left": 460,
"attrs": { "color": "blue", "label": "RIGHT", "key": "ArrowRight", "bounce": "0" }
},
{
"type": "wokwi-pushbutton",
"id": "select",
"top": 305,
"left": 390,
"attrs": { "color": "red", "label": "SELECT", "key": "Enter", "bounce": "0" }
},
{
"type": "wokwi-resistor",
"id": "r-up",
"top": 246,
"left": 335,
"rotate": 90,
"attrs": { "value": "10000" }
},
{
"type": "wokwi-resistor",
"id": "r-down",
"top": 366,
"left": 335,
"rotate": 90,
"attrs": { "value": "10000" }
},
{
"type": "wokwi-resistor",
"id": "r-left",
"top": 306,
"left": 265,
"rotate": 90,
"attrs": { "value": "10000" }
},
{
"type": "wokwi-resistor",
"id": "r-right",
"top": 306,
"left": 515,
"rotate": 90,
"attrs": { "value": "10000" }
},
{
"type": "wokwi-resistor",
"id": "r-select",
"top": 306,
"left": 585,
"rotate": 90,
"attrs": { "value": "10000" }
}
],
"connections": [
[ "esp:18", "tft:SCK", "", [] ],
[ "esp:23", "tft:MOSI", "", [] ],
[ "esp:5", "tft:CS", "", [] ],
[ "esp:4", "tft:DC", "", [] ],
[ "esp:2", "tft:RST", "", [] ],
[ "esp:3V3", "tft:VCC", "", [] ],
[ "esp:GND.1", "tft:GND", "", [] ],
[ "up:1.l", "esp:34", "green", [] ],
[ "down:1.l", "esp:17", "green", [] ],
[ "left:1.l", "esp:13", "blue", [] ],
[ "right:1.l", "esp:12", "blue", [] ],
[ "select:1.l", "esp:19", "red", [] ],
[ "up:2.l", "esp:3V3", "red", [] ],
[ "down:2.l", "esp:3V3", "red", [] ],
[ "left:2.l", "esp:3V3", "red", [] ],
[ "right:2.l", "esp:3V3", "red", [] ],
[ "select:2.l", "esp:3V3", "red", [] ],
[ "up:1.r", "r-up:1", "green", [] ],
[ "down:1.r", "r-down:1", "green", [] ],
[ "left:1.r", "r-left:1", "blue", [] ],
[ "right:1.r", "r-right:1", "blue", [] ],
[ "select:1.r", "r-select:1", "red", [] ],
[ "r-up:2", "esp:GND.1", "black", [] ],
[ "r-down:2", "esp:GND.1", "black", [] ],
[ "r-left:2", "esp:GND.1", "black", [] ],
[ "r-right:2", "esp:GND.1", "black", [] ],
[ "r-select:2", "esp:GND.1", "black", [] ]
],
"dependencies": { "chip-st7735": "github:martysweet/[email protected]" }
}