Fix temp conversion, correct gitignore to include bin

This commit is contained in:
Shaun Reed 2019-10-25 17:00:15 -04:00
parent 1c904a7254
commit 79d2343d81
2 changed files with 1 additions and 3 deletions

1
.gitignore vendored
View File

@ -18,7 +18,6 @@ vscode/.config/Code - OSS/Network*
*.so *.so
# Distribution / packaging # Distribution / packaging
bin/
build/ build/
develop-eggs/ develop-eggs/
dist/ dist/

View File

@ -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))