Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-12 08:51:23 +02:00
parent 779c4bdef1
commit 13f13627b8
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import time
count = 2 count = 2
i2c = busio.I2C(board.SCL, board.SDA) i2c = busio.I2C(board.SCL, board.SDA)
while True: while True:
bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x4c) bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x76)
print(bmp280.temperature) print(bmp280.temperature)
# print(get_temperature() # print(get_temperature()