diff --git a/examples/mlx90640_pil.py b/examples/mlx90640_pil.py index 7cddf0e..6d47e81 100644 --- a/examples/mlx90640_pil.py +++ b/examples/mlx90640_pil.py @@ -16,7 +16,7 @@ COLORDEPTH = 1000 # how many color values we can have INTERPOLATE = 10 # scale factor for final image -mlx = adafruit_mlx90640.MLX90640(board.I2C()) +mlx = adafruit_mlx90640.MLX90640(board.I2C()) # uses board.SCL and board.SDA # the list of colors we can choose from heatmap = ( diff --git a/examples/mlx90640_pygamer.py b/examples/mlx90640_pygamer.py index 8ae8489..f39a51a 100644 --- a/examples/mlx90640_pygamer.py +++ b/examples/mlx90640_pygamer.py @@ -93,6 +93,7 @@ def MakeHeatMapColor(): max_t = 37 # Initial maximum temperature range, before auto scale i2c = busio.I2C(board.SCL, board.SDA, frequency=800000) +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller mlx = adafruit_mlx90640.MLX90640(i2c) print("MLX addr detected on I2C") diff --git a/examples/mlx90640_simpletest.py b/examples/mlx90640_simpletest.py index 4a9b3a7..9eb0a0f 100644 --- a/examples/mlx90640_simpletest.py +++ b/examples/mlx90640_simpletest.py @@ -10,6 +10,7 @@ PRINT_ASCIIART = True i2c = busio.I2C(board.SCL, board.SDA, frequency=800000) +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller mlx = adafruit_mlx90640.MLX90640(i2c) print("MLX addr detected on I2C")