This commit is contained in:
Max 2021-09-22 14:14:38 +01:00
parent 625fd2fb54
commit fb8d92b9e8

View File

@ -34,7 +34,7 @@ class Proximity:
def get_prox_readings(self):
try:
self.ser.flushInput()
# time.sleep(0.1)
time.sleep(0.25)
p1 = p2 = p3 = p4 = p5 = p6 = p7 = p8 = p9 = p10 = p11 = 0
for _ in range(1):
raw = str(self.ser.readline())