1
0
Fork 0
displaysensorbutton/gettemp.sh

4 Zeilen
78 B
Bash
Ausführbare Datei

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