wb_editors
902
правки
м |
Brainroot (обсуждение | вклад) (→Добавление скрипта: добавил 2>/dev/null) |
||
Строка 38: | Строка 38: | ||
echo "mosquitto topics" | echo "mosquitto topics" | ||
# voltage Vout | # voltage Vout | ||
echo $(/usr/bin/mosquitto_sub -C 1 -t "/devices/wb-adc/controls/5Vout") | echo $(/usr/bin/mosquitto_sub -C 1 -t "/devices/wb-adc/controls/5Vout 2>/dev/null") | ||
# voltage Vin | # voltage Vin | ||
echo $(/usr/bin/mosquitto_sub -C 1 -t "/devices/wb-adc/controls/Vin") | echo $(/usr/bin/mosquitto_sub -C 1 -t "/devices/wb-adc/controls/Vin" 2>/dev/null) | ||
</syntaxhighlight> | </syntaxhighlight> | ||