diff --git a/examples/scd4x_simpletest.py b/examples/scd4x_simpletest.py index c4f035d..62b071a 100644 --- a/examples/scd4x_simpletest.py +++ b/examples/scd4x_simpletest.py @@ -5,7 +5,8 @@ import board import adafruit_scd4x -i2c = board.I2C() +i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller scd4x = adafruit_scd4x.SCD4X(i2c) print("Serial number:", [hex(i) for i in scd4x.serial_number]) diff --git a/examples/scd4x_tuning_knobs.py b/examples/scd4x_tuning_knobs.py index cb2495c..9c6e90b 100644 --- a/examples/scd4x_tuning_knobs.py +++ b/examples/scd4x_tuning_knobs.py @@ -5,7 +5,8 @@ import board import adafruit_scd4x -i2c = board.I2C() +i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller scd4x = adafruit_scd4x.SCD4X(i2c) print("Serial number:", [hex(i) for i in scd4x.serial_number])