Skip to content

Commit 6812631

Browse files
authored
Merge pull request #33 from EdgePi-Cloud/dev
merge dev to main
2 parents f868990 + dbd7c0c commit 6812631

File tree

5 files changed

+356
-199
lines changed

5 files changed

+356
-199
lines changed

branch-name.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version-20240122235501-7f12decb
1+
version-20240220175421-2b7efd13

edgepi-digital-out.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,10 @@ <h3>Properties</h3>
139139
<h3>Inputs</h3>
140140
<dl class="message-properties">
141141
<dt>payload <span class="property-type">string</span></dt>
142-
<dd>The D-OUT state.</dd>
142+
<dd>
143+
The D-OUT state (<strong>HI_Z</strong>, <strong>HIGH</strong>, or
144+
<strong>LOW</strong>).
145+
</dd>
143146
<dt>channel <span class="property-type">number</span></dt>
144147
</dl>
145148
<h3>Outputs</h3>

examples/DOUT Flow Sample.json

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
[
2+
{
3+
"id": "62a9375e79f9fbed",
4+
"type": "digital-out",
5+
"z": "aa7eb918109cfafe",
6+
"name": "",
7+
"transport": "Local",
8+
"tcpAddress": "",
9+
"tcpPort": "",
10+
"channel": "DOUT1",
11+
"doutState": "LOW",
12+
"x": 360,
13+
"y": 980,
14+
"wires": [
15+
[
16+
"43b7cd1f82cf8e8c"
17+
]
18+
]
19+
},
20+
{
21+
"id": "79821479ad96bf93",
22+
"type": "inject",
23+
"z": "aa7eb918109cfafe",
24+
"name": "",
25+
"props": [
26+
{
27+
"p": "payload"
28+
},
29+
{
30+
"p": "channel",
31+
"v": "1",
32+
"vt": "num"
33+
}
34+
],
35+
"repeat": "",
36+
"crontab": "",
37+
"once": false,
38+
"onceDelay": 0.1,
39+
"topic": "",
40+
"payload": "HI_Z",
41+
"payloadType": "str",
42+
"x": 90,
43+
"y": 980,
44+
"wires": [
45+
[
46+
"62a9375e79f9fbed"
47+
]
48+
]
49+
},
50+
{
51+
"id": "b23ab3e95d7aaf43",
52+
"type": "inject",
53+
"z": "aa7eb918109cfafe",
54+
"name": "",
55+
"props": [],
56+
"repeat": "",
57+
"crontab": "",
58+
"once": false,
59+
"onceDelay": 0.1,
60+
"topic": "",
61+
"x": 90,
62+
"y": 1020,
63+
"wires": [
64+
[
65+
"62a9375e79f9fbed"
66+
]
67+
]
68+
},
69+
{
70+
"id": "43b7cd1f82cf8e8c",
71+
"type": "debug",
72+
"z": "aa7eb918109cfafe",
73+
"name": "debug dout output",
74+
"active": true,
75+
"tosidebar": true,
76+
"console": false,
77+
"tostatus": false,
78+
"complete": "payload",
79+
"targetType": "msg",
80+
"statusVal": "",
81+
"statusType": "auto",
82+
"x": 730,
83+
"y": 980,
84+
"wires": []
85+
}
86+
]

0 commit comments

Comments
 (0)