moved count

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-11 01:36:24 +02:00
parent 8b9a4f87e9
commit cbf601b1e7
1 changed files with 2 additions and 2 deletions

View File

@ -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()