From 7b948bbac380fe4b2e8ee8e6e386d829d6359531 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/vcnl4040_simpletest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/vcnl4040_simpletest.py b/examples/vcnl4040_simpletest.py index 373003b..d420f9e 100644 --- a/examples/vcnl4040_simpletest.py +++ b/examples/vcnl4040_simpletest.py @@ -5,7 +5,8 @@ import board import adafruit_vcnl4040 -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_vcnl4040.VCNL4040(i2c) while True: