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
# Distribution / packaging
bin/
build/
develop-eggs/
dist/

View File

@ -18,6 +18,5 @@ do
done
temp=$(cat $CPU_SENSOR)
imperial=$(((9/5)+32))
echo $(((temp/10000)*imperial))
echo "scale=2;((9/5) * $(cat $CPU_SENSOR)/1000) + 32"|bc