IR 传感器
从连接到 EV3 模块的红外传感器读取数据
与连接到 EV3 模块的红外传感器交互
对象
irSensor | Connection to infrared sensor |
函数
readProximity | Read distance from infrared sensor to object |
readBeaconProximity | Read distance and heading from infrared sensor to beacon |
readBeaconButton | Read number of pressed button on infrared beacon |
主题
- IR Sensor and Remote Infrared Beacon
IR Sensor and Remote Infrared Beacon
疑难解答
Cannot Connect to a Sensor or Motor
Troubleshoot connections to LEGO® MINDSTORMS® sensors and motors.