sgp30: add the now-obsolete SGP30 air quality sensor

Tested with a rp2040.

TODO: add the ability to set the absolute humidity for more accurate
sensor details. The formula for that is rather complex, so I've left
this as a future addition.
This commit is contained in:
Ayke van Laethem
2023-11-17 20:50:53 +01:00
committed by Ron Evans
parent 93cbba5d8b
commit 92050d90da
3 changed files with 223 additions and 0 deletions
+1
View File
@@ -62,6 +62,7 @@ tinygo build -size short -o ./build/test.hex -target=pico ./examples/pca9685/mai
tinygo build -size short -o ./build/test.hex -target=microbit ./examples/pcd8544/setbuffer/main.go
tinygo build -size short -o ./build/test.hex -target=microbit ./examples/pcd8544/setpixel/main.go
tinygo build -size short -o ./build/test.hex -target=arduino ./examples/servo
tinygo build -size short -o ./build/test.hex -target=pico ./examples/sgp30
tinygo build -size short -o ./build/test.hex -target=pybadge ./examples/shifter/main.go
tinygo build -size short -o ./build/test.hex -target=microbit ./examples/sht3x/main.go
tinygo build -size short -o ./build/test.hex -target=microbit ./examples/sht4x/main.go