From 68c5a859d24443decd5cfef5d77212868903fb93 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 18 Nov 2022 13:05:26 -0500 Subject: [PATCH] Added commented out board.STEMMA_I2C with explanation --- examples/mlx90614_simpletest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/mlx90614_simpletest.py b/examples/mlx90614_simpletest.py index 45d5509..5c24644 100644 --- a/examples/mlx90614_simpletest.py +++ b/examples/mlx90614_simpletest.py @@ -17,7 +17,8 @@ # The MLX90614 only works at the default I2C bus speed of 100kHz. # A higher speed, such as 400kHz, will not work. -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 mlx = adafruit_mlx90614.MLX90614(i2c) # temperature results in celsius