-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiagram.json
More file actions
45 lines (45 loc) · 1.2 KB
/
diagram.json
File metadata and controls
45 lines (45 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"version": 1,
"author": "לאה וייס",
"editor": "wokwi",
"parts": [
{ "type": "board-esp32-devkit-c-v4", "id": "esp", "top": 76.8, "left": -33.56, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": 142.8,
"left": 198.6,
"rotate": 90,
"attrs": { "color": "cyan", "flip": "" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 100.25,
"left": 104.2,
"rotate": 180,
"attrs": { "value": "1" }
},
{
"type": "wokwi-hc-sr04",
"id": "ultrasonic1",
"top": 222.3,
"left": -253.7,
"attrs": { "distance": "2" }
}
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "led1:A", "esp:2", "green", [ "h28.8" ] ],
[ "r1:1", "led1:C", "limegreen", [ "v0" ] ],
[ "esp:GND.2", "r1:2", "black", [ "v0" ] ],
[ "ultrasonic1:VCC", "esp:3V3", "red", [ "v0" ] ],
[ "ultrasonic1:TRIG", "esp:5", "magenta", [ "v0" ] ],
[ "ultrasonic1:ECHO", "esp:18", "blue", [ "v-134.4", "h229.6" ] ],
[ "ultrasonic1:GND", "esp:GND.2", "black", [ "v0" ] ]
],
"dependencies": {
"scripts": ["sensorControl.js"]
}
}