on dommente maintenant que i2c sensors est revenu

darcs-hash:20001001015318-a279a-02071c08c539ba9f0c5fc9031aedf678ff65dfbe.gz
This commit is contained in:
stransky 2000-10-01 03:53:18 +02:00
parent f861fee651
commit 7343adf0c5

View file

@ -1,10 +1,10 @@
#!/bin/sh
# je pipe vers calculatrice pour enlever 30 °, ça donne plus de précision. Sam. (/1 fait truncate.)
#echo $(cat /proc/sys/dev/sensors/w83781d-i2c-0-2d/temp1 | tail -c 5 | head -c 2 )"/1-30"|bc
#echo $(cat /proc/sys/dev/sensors/w83781d-i2c-0-2d/temp2 | tail -c 5 | head -c 2 )"/1-30"|bc
echo 10
echo 12
echo $(cat /proc/sys/dev/sensors/w83781d-i2c-0-2d/temp1 | tail -c 5 | head -c 2 )"/1-30"|bc
echo $(cat /proc/sys/dev/sensors/w83781d-i2c-0-2d/temp2 | tail -c 5 | head -c 2 )"/1-30"|bc
#echo 10
#echo 12
echo
echo "Température-30°"