Main Content

IR 传感器

从连接到 EV3 模块的红外传感器读取数据

与连接到 EV3 模块的红外传感器交互

对象

irSensorConnection to infrared sensor

函数

readProximityRead distance from infrared sensor to object
readBeaconProximityRead distance and heading from infrared sensor to beacon
readBeaconButtonRead number of pressed button on infrared beacon

主题

疑难解答

Cannot Connect to a Sensor or Motor

Troubleshoot connections to LEGO® MINDSTORMS® sensors and motors.