diff --git a/main.py b/main.py index 79e8eb5..fee9085 100644 --- a/main.py +++ b/main.py @@ -82,7 +82,7 @@ def get_moisture(): #temperature def get_temperature(): i2c = busio.I2C(board.SCL, board.SDA) - bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x03) + bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x76) return int(bmp280.temperature) # print(get_moisture())