Update code.py
This commit is contained in:
parent
99ca7416e0
commit
35a860806f
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ while True:
|
|||
vl53_clock = ticks_add(vl53_clock, vl53_time)
|
||||
else:
|
||||
external_power.value = False
|
||||
except Exception as error: # pylint: disable=broad-exception-caught
|
||||
except Exception as error: # pylint: disable=broad-except
|
||||
print(error)
|
||||
time.sleep(5)
|
||||
microncontroller.reset()
|
||||
|
|
|
|||
Loading…
Reference in a new issue