User manual

Export 03.11.2017 Copyright by Joy-IT 10
3
Joy-IT® Ultrasonic Disance Sensor
else:
# formating the result
Abstand = format((Dauer * 34300) / 2, '.2f')
# printing the distance
print("The distance is:"), Abstand,("cm")
print("------------------------------")
# break between measurement
time.sleep(sleeptime)
# cleanup after program is closed
except KeyboardInterrupt:
GPIO.cleanup()