Skip to content

Commit 68c5a85

Browse files
committed
Added commented out board.STEMMA_I2C with explanation
1 parent df5544d commit 68c5a85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/mlx90614_simpletest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
# The MLX90614 only works at the default I2C bus speed of 100kHz.
1919
# A higher speed, such as 400kHz, will not work.
20-
i2c = board.I2C()
20+
i2c = board.I2C() # uses board.SCL and board.SDA
21+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
2122
mlx = adafruit_mlx90614.MLX90614(i2c)
2223

2324
# temperature results in celsius

0 commit comments

Comments
 (0)