Skip to content

Commit 519c908

Browse files
committed
Add example of calibrating IAQ for humidity
In response to [^1]. [^1]: #35 (comment)
1 parent 4218f0d commit 519c908

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/sgp30_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
sgp30.iaq_init()
1919
sgp30.set_iaq_baseline(0x8973, 0x8AAE)
20+
sgp30.set_iaq_relative_humidity(celcius=22.1, relative_humidity=44)
2021

2122
elapsed_sec = 0
2223

0 commit comments

Comments
 (0)