From c841f7123d47b0e2791276df582230d819a440ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 11 Jul 2022 01:28:26 +0200 Subject: [PATCH] changed address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index a0af745..80df4b1 100644 --- a/test.py +++ b/test.py @@ -5,7 +5,7 @@ import time def get_temperature(): i2c = busio.I2C(board.SCL, board.SDA) - bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x76) + bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x01) return bmp280.temperature while True: