主要内容

颜色传感器

从连接到 EV3 模块的颜色传感器读取数据

与连接到 EV3 模块的颜色传感器交互

对象

colorSensorConnection to color sensor

函数

readColorRead color of object in front of color sensor
readLightIntensityRead intensity of light that reaches color sensor

主题

疑难解答

Cannot Connect to a Sensor or Motor

Troubleshoot connections to LEGO® MINDSTORMS® sensors and motors.