Created
September 20, 2020 04:03
-
-
Save sepfy/866177e2369990023266c494a7d65c40 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "scale=2; -45 + 175*$(cat /sys/class/sensor/sht31/temperature)/65535" | bc | |
echo "scale=2; 100*$(cat /sys/class/sensor/sht31/humidity)/65535" | bc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment