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

View File

@ -12,7 +12,7 @@ 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=0x76) bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x76)
print(bmp280.temperature) print(int(bmp280.temperature))
# print(get_temperature() # print(get_temperature()