parent
779c4bdef1
commit
13f13627b8
2
test.py
2
test.py
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue