Update
This commit is contained in:
parent
3bcdc5afe3
commit
9756ce6f04
@ -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('|')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user