Skip to content

Commit

Permalink
Add some mode stuff to the diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
lptr committed Nov 13, 2024
1 parent 104ac9c commit dd17e2b
Showing 1 changed file with 34 additions and 9 deletions.
43 changes: 34 additions & 9 deletions wokwi/diagram.flow-control-mk6.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"id": "statusLed",
"top": -32.4,
"left": 186.2,
"attrs": { "color": "white" }
"attrs": { "color": "white", "label": "Status" }
},
{
"type": "wokwi-resistor",
Expand All @@ -18,6 +18,20 @@
"left": 163.2,
"attrs": { "value": "22" }
},
{
"type": "wokwi-led",
"id": "statusLed2",
"top": -32.4,
"left": 253.4,
"attrs": { "color": "white", "label": "Status-2" }
},
{
"type": "wokwi-resistor",
"id": "r7",
"top": 32.75,
"left": 230.4,
"attrs": { "value": "22" }
},
{
"type": "wokwi-potentiometer",
"id": "battery",
Expand Down Expand Up @@ -59,14 +73,14 @@
"type": "wokwi-led",
"id": "nsleepLed",
"top": 140.4,
"left": 167.4,
"attrs": { "color": "red", "label": "NSleep", "flip": "1" }
"left": -53.8,
"attrs": { "color": "red", "label": "NSleep", "flip": "" }
},
{
"type": "wokwi-resistor",
"id": "r4",
"top": 225.05,
"left": 152.2,
"top": 196.25,
"left": -59,
"rotate": 180,
"attrs": { "value": "22" }
},
Expand Down Expand Up @@ -100,7 +114,13 @@
"rotate": 180,
"attrs": { "value": "22" }
},
{ "type": "wokwi-logo", "id": "logo1", "top": 278.4, "left": 0, "attrs": {} }
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 169.4,
"left": 153.6,
"attrs": { "color": "green", "label": "Flash", "bounce": "0" }
}
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
Expand All @@ -117,15 +137,20 @@
[ "dain2Led:A", "esp:17", "green", [] ],
[ "dain2Led:C", "r2:2", "green", [ "h0" ] ],
[ "r3:1", "esp:GND.1", "black", [ "v0" ] ],
[ "r4:1", "nsleepLed:C", "green", [ "v0" ] ],
[ "nsleepLed:A", "esp:47", "green", [ "v0" ] ],
[ "r4:2", "esp:GND.4", "green", [ "v0" ] ],
[ "dbin1Led:A", "esp:8", "green", [] ],
[ "dbin1Led:C", "r6:2", "green", [] ],
[ "r5:1", "esp:GND.1", "black", [ "v0" ] ],
[ "dbin2Led:A", "esp:18", "green", [] ],
[ "dbin2Led:C", "r5:2", "green", [] ],
[ "r6:1", "esp:GND.1", "black", [ "v0" ] ]
[ "r6:1", "esp:GND.1", "black", [ "v0" ] ],
[ "statusLed2:A", "r7:2", "green", [] ],
[ "r7:1", "esp:3V3.2", "green", [ "v0" ] ],
[ "statusLed2:C", "esp:4", "green", [ "v0" ] ],
[ "nsleepLed:C", "r4:2", "green", [ "h-18.8", "v28.8" ] ],
[ "r4:1", "esp:GND.1", "black", [ "v0" ] ],
[ "esp:GND.4", "btn1:2.l", "black", [ "h0" ] ],
[ "esp:0", "btn1:1.l", "green", [ "h0" ] ]
],
"dependencies": {}
}

0 comments on commit dd17e2b

Please sign in to comment.