31,703
edits
(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 | 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 | To get the value of the analog input use the <i>analog_calc</i> command. For example: | ||
<pre> | <pre> |