from hcsr04 import HCSR04
import time


afstandssensor = HCSR04(trigger_pin=5, echo_pin=23,echo_timeout_us=1000000)

while True:
    distance = afstandssensor.distance_cm()
    print(distance)
    time.sleep(1)