From cbf601b1e7da4444ce19a79448512eb9d43844c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 11 Jul 2022 01:36:24 +0200 Subject: [PATCH] moved count MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index 3c35d55..99a61c8 100644 --- a/test.py +++ b/test.py @@ -8,9 +8,10 @@ import time # bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x03) # return bmp280.temperature -count = 3 +count = 2 i2c = busio.I2C(board.SCL, board.SDA) while True: + count + 1 if count != 77: print(hex(count)) try: @@ -21,7 +22,6 @@ while True: pass else: exit() - count + 1 # print(get_temperature()