From c1aed76641b9a636eb918d2cfa2407f7b188de25 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:32 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/vcnl4010_simpletest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/vcnl4010_simpletest.py b/examples/vcnl4010_simpletest.py index 4a73b45..d300b6c 100644 --- a/examples/vcnl4010_simpletest.py +++ b/examples/vcnl4010_simpletest.py @@ -8,7 +8,8 @@ import adafruit_vcnl4010 -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_vcnl4010.VCNL4010(i2c) # You can optionally adjust the sensor LED current. The default is 200mA