From c665ce14b1e289bbd3b1128a41e2511cf9943753 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:20 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/as726x_simpletest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/as726x_simpletest.py b/examples/as726x_simpletest.py index 78a0214..130ee53 100644 --- a/examples/as726x_simpletest.py +++ b/examples/as726x_simpletest.py @@ -22,7 +22,8 @@ def graph_map(x): # for I2C use: -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 = AS726x_I2C(i2c) # for UART use: