Skip to content

Commit a4c319a

Browse files
authored
Merge pull request #50 from adafruit/stemma_i2c
Added commented out board.STEMMA_I2C with explanation
2 parents f175acc + 9a649d9 commit a4c319a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/ccs811_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import adafruit_ccs811
77

88
i2c = board.I2C() # uses board.SCL and board.SDA
9+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
910
ccs811 = adafruit_ccs811.CCS811(i2c)
1011

1112
# Wait for the sensor to be ready

0 commit comments

Comments
 (0)