diff --git a/examples/as7341_batched_readings.py b/examples/as7341_batched_readings.py index c39c756..6a0074a 100644 --- a/examples/as7341_batched_readings.py +++ b/examples/as7341_batched_readings.py @@ -5,6 +5,7 @@ from adafruit_as7341 import AS7341 i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller sensor = AS7341(i2c) diff --git a/examples/as7341_flicker_detection.py b/examples/as7341_flicker_detection.py index 5a9d1a8..38cac7d 100644 --- a/examples/as7341_flicker_detection.py +++ b/examples/as7341_flicker_detection.py @@ -5,6 +5,7 @@ from adafruit_as7341 import AS7341 i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller sensor = AS7341(i2c) sensor.flicker_detection_enabled = True diff --git a/examples/as7341_led_test.py b/examples/as7341_led_test.py index 4e09a08..5586453 100644 --- a/examples/as7341_led_test.py +++ b/examples/as7341_led_test.py @@ -6,6 +6,7 @@ import adafruit_as7341 i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller sensor = adafruit_as7341.AS7341(i2c) print("out of init!") diff --git a/examples/as7341_simpletest.py b/examples/as7341_simpletest.py index 24847a3..52f012d 100644 --- a/examples/as7341_simpletest.py +++ b/examples/as7341_simpletest.py @@ -5,6 +5,7 @@ from adafruit_as7341 import AS7341 i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller sensor = AS7341(i2c)