diff --git a/test.py b/test.py index e50dcda..7149a8c 100644 --- a/test.py +++ b/test.py @@ -12,12 +12,14 @@ count = 3 i2c = busio.I2C(board.SCL, board.SDA) while True: if count != 77: + print(hex(count)) try: bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=hex(count)) print(bmp280.temperature) exit() except: pass + count + 1 else: exit() # print(get_temperature()