From be3728434955a63373e66befe495008711c2ac05 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:21 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/bh1750_simpletest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/bh1750_simpletest.py b/examples/bh1750_simpletest.py index aae4063..a50fbe0 100644 --- a/examples/bh1750_simpletest.py +++ b/examples/bh1750_simpletest.py @@ -5,7 +5,8 @@ import board import adafruit_bh1750 -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 sensor = adafruit_bh1750.BH1750(i2c) while True: