Fixed sensor usage
This commit is contained in:
parent
aba9014145
commit
5e81fecb78
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ DELAY_SECONDS = 1
|
|||
|
||||
|
||||
sensor = VL53L1XSensor()
|
||||
sensor.open()
|
||||
|
||||
while True:
|
||||
sensor.setDirection(Directions.INSIDE)
|
||||
|
|
Loading…
Reference in a new issue