1
0
Fork 0
displaysensorbutton/gettemp.sh

4 linhas
78 B
Bash
Arquivo executável

#!/bin/sh
echo "6" > /dev/ttyUSB0
TEMP=`dd if=/dev/ttyUSB0 count=1`
echo $TEMP