Template:Networking rut955 manual input output cli: Difference between revisions
Template:Networking rut955 manual input output cli (view source)
Revision as of 08:18, 22 October 2019
, 22 October 2019no edit summary
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
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. | 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 <i> | To get the value of the analog input use the <i>cat /sys/class/hwmon/hwmon0/device/in0_input</i> command. Router will show voltage value in '''mV'''. For example: | ||
<pre> | <pre> | ||
root@Teltonika:~# | root@Teltonika:~# cat /sys/class/hwmon/hwmon0/device/in0_input | ||
950 | |||
</pre> | </pre> |