Jump to content

Template:Networking rut955 manual input output cli: Difference between revisions

no edit summary
(Created page with "You can control and monitor input and output values via a command line interface (CLI) with the <i>gpio.sh</i> command. You can execute this comman...")
 
No edit summary
Line 35: Line 35:
</pre>
</pre>


As seen in the example above, you can change the value of an output by using the '''invert''' command, which simply turns the current value of the specified output into its opposite state.
As seen in the example above, you can change the value of an output by using the <i>invert</i> command, which simply turns the current value of the specified output into its opposite state.
----
----
To get the value of the analog input use the '''analog_calc''' command. For example:
To get the value of the analog input use the <i>analog_calc</i> command. For example:


<pre>
<pre>