Comment on page
A component that provides a high-level interface to a color sensor on a LEGO MINDSTORMS EV3 robot.
The BluetoothClient component that should be used for communication. Must be set in the Designer
The sensor port that the sensor is connected to. Must be set in the Designer
The bottom of the range used for the BelowRange, WithinRange, and AboveRange events.
The top of the range used for the BelowRange, WithinRange, and AboveRange events.
Whether the BelowRange event should fire when the light level goes below the BottomOfRange.
Whether the WithinRange event should fire when the light level goes between the BottomOfRange and the TopOfRange.
Whether the AboveRange event should fire when the light level goes above the TopOfRange.
Whether the ColorChanged event should fire when the Mode property is set to "color" and the detected color changes.
Get the current sensor mode.
It returns the light level in percentage, or -1 when the light level cannot be read.
It returns the color code from 0 to 7 corresponding to no color, black, blue, green, yellow, red, white and brown.
Return the color name in one of "No Color", "Black", "Blue", "Green", "Yellow", "Red", "White", "Brown".
Enter the color detection mode.
Make the sensor read the light level with reflected light.
Make the sensor read the light level without reflected light.