{
  "version": 1,
  "author": "Albert Vernon Smith",
  "editor": "wokwi",
  "parts": [
	{
	  "type": "wokwi-pi-pico",
	  "id": "pico",
	  "top": 39.1,
	  "left": -88.35,
	  "rotate": 90,
	  "attrs": { "env": "micropython-20231227-v1.22.0" }
	},
	{ "type": "wokwi-a4988", "id": "drv1", "top": -14.4, "left": 43.2, "attrs": {} },
	{
	  "type": "wokwi-stepper-motor",
	  "id": "stepper1",
	  "top": -64.67,
	  "left": 141.69,
	  "rotate": 90,
	  "attrs": { "size": "17" }
	},
	{
	  "type": "wokwi-pushbutton",
	  "id": "btn1",
	  "top": -9.2,
	  "left": -72.8,
	  "rotate": 90,
	  "attrs": { "color": "blue", "xray": "1" }
	},
	{
	  "type": "wokwi-pushbutton",
	  "id": "btn2",
	  "top": -9.2,
	  "left": -207.2,
	  "rotate": 90,
	  "attrs": { "color": "red", "xray": "1" }
	},
	{
	  "type": "wokwi-lcd1602",
	  "id": "lcd1",
	  "top": 342.4,
	  "left": -205.6,
	  "attrs": { "pins": "i2c" }
	},
	{
	  "type": "wokwi-text",
	  "id": "text1",
	  "top": -48,
	  "left": -201.6,
	  "attrs": { "text": "Player 2" }
	},
	{
	  "type": "wokwi-text",
	  "id": "text2",
	  "top": -48,
	  "left": -67.2,
	  "attrs": { "text": "Player 1" }
	},
	{
	  "type": "wokwi-text",
	  "id": "text3",
	  "top": -76.8,
	  "left": -201.6,
	  "attrs": { "text": "Push buttons to deal a card" }
	},
	{
	  "type": "wokwi-text",
	  "id": "text4",
	  "top": 489.6,
	  "left": -134.4,
	  "attrs": { "text": "Number of cards dealt" }
	},
	{
	  "type": "wokwi-text",
	  "id": "text5",
	  "top": -115.2,
	  "left": 153.6,
	  "attrs": { "text": "Motors to deal cards" }
	},
	{ "type": "wokwi-a4988", "id": "drv2", "top": 206.4, "left": 43.2, "attrs": {} },
	{
	  "type": "wokwi-stepper-motor",
	  "id": "stepper2",
	  "top": 156.13,
	  "left": 141.69,
	  "rotate": 90,
	  "attrs": { "size": "17" }
	},
	{
	  "type": "wokwi-text",
	  "id": "text6",
	  "top": -86.4,
	  "left": 201.6,
	  "attrs": { "text": "Player 1" }
	},
	{
	  "type": "wokwi-text",
	  "id": "text7",
	  "top": 134.4,
	  "left": 182.4,
	  "attrs": { "text": "Player 2" }
	}
  ],
  "connections": [
	[ "drv1:RESET", "drv1:SLEEP", "cyan", [ "h0" ] ],
	[ "drv1:STEP", "pico:GP1", "green", [ "h0" ] ],
	[ "drv1:DIR", "pico:GP0", "green", [ "h0" ] ],
	[ "drv1:1B", "stepper1:B-", "green", [ "h0" ] ],
	[ "drv1:1A", "stepper1:B+", "red", [ "h0" ] ],
	[ "drv1:2A", "stepper1:A+", "green", [ "h0" ] ],
	[ "drv1:2B", "stepper1:A-", "red", [ "h0" ] ],
	[ "btn1:1.r", "pico:GND.1", "black", [ "v29", "h48" ] ],
	[ "pico:GP2", "btn1:2.r", "blue", [ "v-19.2", "h-57.6", "v-38.6" ] ],
	[ "btn2:2.r", "pico:GP12", "red", [ "v38.6", "h76.6" ] ],
	[ "btn2:1.r", "pico:GND.1", "black", [ "v29", "h105.6" ] ],
	[ "pico:3V3", "lcd1:VCC", "green", [ "v39.6", "h-230.4", "v67.1" ] ],
	[ "pico:GND.8", "lcd1:GND", "black", [ "v49.2", "h-230.4", "v48" ] ],
	[ "lcd1:SDA", "pico:GP18", "violet", [ "h-153.6", "v-95.8", "h182.4" ] ],
	[ "lcd1:SCL", "pico:GP19", "orange", [ "h-124.8", "v-95.7", "h163.2" ] ],
	[ "drv2:SLEEP", "drv2:RESET", "cyan", [ "h0" ] ],
	[ "drv2:DIR", "pico:GP20", "green", [ "h0" ] ],
	[ "drv2:STEP", "pico:GP21", "green", [ "h0" ] ],
	[ "drv2:2B", "stepper2:A-", "red", [ "h0" ] ],
	[ "drv2:2A", "stepper2:A+", "green", [ "h0" ] ],
	[ "drv2:1A", "stepper2:B+", "red", [ "h0" ] ],
	[ "drv2:1B", "stepper2:B-", "green", [ "h0" ] ]
  ],
  "dependencies": {}
}
