This commit is contained in:
Max 2021-09-22 14:07:42 +01:00
parent 3bcdc5afe3
commit 9756ce6f04

View File

@ -35,7 +35,7 @@ class Proximity:
self.ser.flushInput()
time.sleep(0.05)
p1 = p2 = p3 = p4 = p5 = p6 = p7 = p8 = p9 = p10 = p11 = 0
for _ in range(2):
for _ in range(1):
raw = str(self.ser.readline())
raw2 = raw.split('\\r')[0].split("'")[1]
raw3 = raw2.split('|')