parent
8b9a4f87e9
commit
cbf601b1e7
4
test.py
4
test.py
|
@ -8,9 +8,10 @@ import time
|
||||||
# bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x03)
|
# bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x03)
|
||||||
# return bmp280.temperature
|
# return bmp280.temperature
|
||||||
|
|
||||||
count = 3
|
count = 2
|
||||||
i2c = busio.I2C(board.SCL, board.SDA)
|
i2c = busio.I2C(board.SCL, board.SDA)
|
||||||
while True:
|
while True:
|
||||||
|
count + 1
|
||||||
if count != 77:
|
if count != 77:
|
||||||
print(hex(count))
|
print(hex(count))
|
||||||
try:
|
try:
|
||||||
|
@ -21,7 +22,6 @@ while True:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
exit()
|
exit()
|
||||||
count + 1
|
|
||||||
# print(get_temperature()
|
# print(get_temperature()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue