{
  "version": 1,
  "author": "Uri Shaked",
  "editor": "wokwi",
  "parts": [
    { "type": "chip-counter", "id": "chip1", "top": -181.38, "left": -52.8, "attrs": {} },
    { "type": "wokwi-gnd", "id": "pwr1", "top": -70.98, "left": 133.8, "attrs": {} },
    {
      "type": "wokwi-7segment",
      "id": "sevseg1",
      "top": -177.42,
      "left": 120.28,
      "attrs": { "common": "cathode" }
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn1",
      "top": -185.8,
      "left": -163.2,
      "attrs": { "color": "grey", "label": "Step", "bounce": "0" }
    },
    { "type": "wokwi-vcc", "id": "vcc1", "top": -239.24, "left": -192, "attrs": {} },
    { "type": "wokwi-gnd", "id": "gnd1", "top": -28.8, "left": -77.4, "attrs": {} },
    {
      "type": "wokwi-resistor",
      "id": "r1",
      "top": -120,
      "left": -125.35,
      "rotate": 90,
      "attrs": { "value": "1000" }
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn2",
      "top": -137.8,
      "left": -240,
      "attrs": { "color": "red", "label": "Reset", "bounce": "0" }
    },
    { "type": "wokwi-vcc", "id": "vcc2", "top": -191.24, "left": -268.8, "attrs": {} },
    { "type": "wokwi-gnd", "id": "gnd2", "top": -28.8, "left": -259.8, "attrs": {} },
    {
      "type": "wokwi-resistor",
      "id": "r2",
      "top": -72,
      "left": -278.95,
      "rotate": 90,
      "attrs": { "value": "1000" }
    }
  ],
  "connections": [
    [ "pwr1:GND", "sevseg1:COM.1", "black", [ "v0" ] ],
    [ "chip1:A", "sevseg1:A", "green", [ "h11.41", "v-28.8", "h105.6" ] ],
    [ "chip1:B", "sevseg1:B", "green", [ "h21.01", "v-28.8", "h96" ] ],
    [ "chip1:C", "sevseg1:C", "green", [ "h49.81", "v67.2", "h57.6" ] ],
    [ "chip1:D", "sevseg1:D", "green", [ "h40.21", "v48", "h48" ] ],
    [ "chip1:E", "sevseg1:E", "green", [ "h54.61", "v28.8" ] ],
    [ "chip1:F", "sevseg1:F", "green", [ "h30.61", "v-57.6", "h48" ] ],
    [ "chip1:G", "sevseg1:G", "green", [ "h59.41", "v-58.44" ] ],
    [ "chip1:DP", "sevseg1:DP", "green", [ "v28.8", "h107.41", "v-28.8" ] ],
    [ "chip1:CLK", "btn1:2.r", "green", [ "h0" ] ],
    [ "vcc1:VCC", "btn1:1.l", "red", [ "v0" ] ],
    [ "vcc1:VCC", "chip1:VCC", "red", [ "v0", "h124.8" ] ],
    [ "chip1:GND", "gnd1:GND", "black", [ "h-19.2", "v124.8" ] ],
    [ "btn1:2.r", "r1:1", "green", [ "h0" ] ],
    [ "gnd1:GND", "r1:2", "black", [ "v0" ] ],
    [ "btn2:2.r", "chip1:RST", "green", [ "h115.4", "v-38.2" ] ],
    [ "vcc2:VCC", "btn2:1.l", "red", [ "v0" ] ],
    [ "gnd2:GND", "r2:2", "black", [ "v0" ] ],
    [ "r2:1", "btn2:2.l", "black", [ "h0", "v-9.6", "h9.6" ] ]
  ],
  "dependencies": {}
}
counterBreakout