You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spydian/testscripts/ultrasonic_test.py

8 lines
140 B
Python

from lib import ultrasonic
sensor = ultrasonic.Sensor()
sensor.init(11, 7)
print('Beginn der Messung')
print(sensor.echo())
sensor.clean()