Fixed sensor usage

This commit is contained in:
Maximilian Giller 2023-10-09 18:12:16 +02:00
parent aba9014145
commit 5e81fecb78

View file

@ -7,6 +7,7 @@ DELAY_SECONDS = 1
sensor = VL53L1XSensor()
sensor.open()
while True:
sensor.setDirection(Directions.INSIDE)