Fix temp conversion, correct gitignore to include bin
This commit is contained in:
parent
1c904a7254
commit
79d2343d81
|
@ -18,7 +18,6 @@ vscode/.config/Code - OSS/Network*
|
||||||
*.so
|
*.so
|
||||||
|
|
||||||
# Distribution / packaging
|
# Distribution / packaging
|
||||||
bin/
|
|
||||||
build/
|
build/
|
||||||
develop-eggs/
|
develop-eggs/
|
||||||
dist/
|
dist/
|
||||||
|
|
|
@ -18,6 +18,5 @@ do
|
||||||
done
|
done
|
||||||
|
|
||||||
temp=$(cat $CPU_SENSOR)
|
temp=$(cat $CPU_SENSOR)
|
||||||
imperial=$(((9/5)+32))
|
echo "scale=2;((9/5) * $(cat $CPU_SENSOR)/1000) + 32"|bc
|
||||||
echo $(((temp/10000)*imperial))
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue