diff --git a/test.py b/test.py index 9e636d9..1381259 100644 --- a/test.py +++ b/test.py @@ -12,7 +12,7 @@ count = 2 i2c = busio.I2C(board.SCL, board.SDA) while True: bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x76) - print(bmp280.temperature) + print(int(bmp280.temperature)) # print(get_temperature()