Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/sgp40_indextest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

# Boards i2c bus
i2c = board.I2C() # uses board.SCL and board.SDA
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
sgp = adafruit_sgp40.SGP40(i2c)

# Humidity sensor for compensated Readings
Expand Down
1 change: 1 addition & 0 deletions examples/sgp40_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# import adafruit_bme280

i2c = board.I2C() # uses board.SCL and board.SDA
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
sgp = adafruit_sgp40.SGP40(i2c)
# And if you have a temp/humidity sensor, define the sensor here as well
# bme280 = adafruit_bme280.Adafruit_BME280_I2C(i2c)
Expand Down