Pybricks 模块
hubs
pupdevices
ev3devices
nxtdevices
UltrasonicSensor(超声波传感器)
UltrasonicSensor.distance()
iodevices
parameters
tools
robotics
messaging
MicroPython 模块
micropython
uerrno
uio
ujson
umath
urandom
uselect
ustruct
usys
LEGO® MINDSTORMS® NXT 超声波传感器。
port (Port) – 传感器所连接的端口。
使用超声波测量传感器与物体之间的距离。
测得的距离。