Skip to content

Commit 6494e36

Browse files
committed
add comented stemma I2C in MCU examples. remove from pi example
1 parent f1ca25c commit 6494e36

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

examples/mlx90640_pil.py

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
INTERPOLATE = 10 # scale factor for final image
1818

1919
mlx = adafruit_mlx90640.MLX90640(board.I2C()) # uses board.SCL and board.SDA
20-
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
2120

2221
# the list of colors we can choose from
2322
heatmap = (

examples/mlx90640_pygamer.py

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def MakeHeatMapColor():
9393
max_t = 37 # Initial maximum temperature range, before auto scale
9494

9595
i2c = busio.I2C(board.SCL, board.SDA, frequency=800000)
96+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
9697

9798
mlx = adafruit_mlx90640.MLX90640(i2c)
9899
print("MLX addr detected on I2C")

examples/mlx90640_simpletest.py

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
PRINT_ASCIIART = True
1111

1212
i2c = busio.I2C(board.SCL, board.SDA, frequency=800000)
13+
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1314

1415
mlx = adafruit_mlx90640.MLX90640(i2c)
1516
print("MLX addr detected on I2C")

0 commit comments

Comments
 (0)