on dommente maintenant que i2c sensors est revenu
darcs-hash:20001001015318-a279a-02071c08c539ba9f0c5fc9031aedf678ff65dfbe.gz
This commit is contained in:
parent
f861fee651
commit
7343adf0c5
1 changed files with 4 additions and 4 deletions
8
temp-avg
8
temp-avg
|
@ -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°"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue