717 bytes added
, 8 April
<pre>
ioman.gpio.din1 - 4PIN input
ioman.gpio.dout1 - 4PIN output
</pre>
Call command <b>ubus call <u>value</u> status </b>:
root@Teltonika-{{{name}}}:~# ubus call ioman.gpio.din1 status
{
"value": "0",
"direction": "in",
"bi_dir": false,
"invert_input": false
}
<ul>
<li><b>din1</b> is the input:
<ul>
<li>"value": "<b>0</b>" means low level state.</li>
<li>"value": "<b>1</b>" means high level state.</li>
</ul>
</li>
<li><b>dout1</b> is the output:
<ul>
<li>"value": "<b>0</b>" means low level state.</li>
<li>"value": "<b>1</b>" means high level state.</li>
</ul>
</li>
</ul>