Changes

no edit summary
Line 1: Line 1:  
<pre>
 
<pre>
ioman.gpio.din1
+
ioman.gpio.dio0
ioman.gpio.dout1
+
ioman.gpio.dio1
 
</pre>
 
</pre>
   −
Call command <b>ubus call <i>value</i> status </b>:
+
In order to read values, call command <b>ubus call <i>value</i> status </b>:
   −
  root@Teltonika-{{{name}}}:~# ubus call ioman.gpio.dout1 status
+
  root@Teltonika-{{{name}}}:~# ubus call ioman.gpio.dio1 status
 
  {
 
  {
 
         "value": "0",
 
         "value": "0",
Line 28: Line 28:  
     </li>
 
     </li>
 
</ul>
 
</ul>
 +
 +
To change input settings, use the <i><b>update</i></b> command and specify a value:
 +
 +
ubus call ioman.gpio.dio0 update '{"value":"0"}'
 +
ubus call ioman.gpio.dio0 update '{"value":"1"}'

Navigation menu