diff --git a/examples/mcp9808_average_temp_mqtt.py b/examples/mcp9808_average_temp_mqtt.py index 67acab8..cda59c3 100644 --- a/examples/mcp9808_average_temp_mqtt.py +++ b/examples/mcp9808_average_temp_mqtt.py @@ -15,6 +15,7 @@ i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # To initialise using the default address: mcp = adafruit_mcp9808.MCP9808(i2c) diff --git a/examples/mcp9808_simpletest.py b/examples/mcp9808_simpletest.py index 3a5e810..ad369a0 100644 --- a/examples/mcp9808_simpletest.py +++ b/examples/mcp9808_simpletest.py @@ -6,6 +6,7 @@ import adafruit_mcp9808 i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller # To initialise using the default address: mcp = adafruit_mcp9808.MCP9808(i2c) diff --git a/examples/mcp9808_temperature_limits.py b/examples/mcp9808_temperature_limits.py index 5f97e33..0f54080 100644 --- a/examples/mcp9808_temperature_limits.py +++ b/examples/mcp9808_temperature_limits.py @@ -10,6 +10,7 @@ import adafruit_mcp9808 i2c = board.I2C() # uses board.SCL and board.SDA +# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller mcp = adafruit_mcp9808.MCP9808(i2c) # Change the values according to the desired values