changed address

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-11 01:28:26 +02:00
parent b136496d23
commit c841f7123d
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import time
def get_temperature(): def get_temperature():
i2c = busio.I2C(board.SCL, board.SDA) 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 return bmp280.temperature
while True: while True: