The original EV3 color sensor supports reflected light, ambient light and color mode, but this does not meet our needs. David Gilday, who made mindcuber, created the EV3 Color RGB mode in the early days, which greatly improved the EV3 Color Sensor. But the Color Sensor RGB file is not perfect, so we have added other functions, including the RGB comparison mode and the raw value mode.
This mode returns the Red, Green and Blue components of the RGB color.
This mode is a variant of RGB mode, which allows you to change the input value to achieve the judgment effect, as shown above: 20 is Error Amount, R, G, B are 170, 160, 120, respectively, when I measured it today. The object reads Red to 150-190, Green at 140-180, and Blue at 100-140. When the three are established, the Boolean value is finally output. The interval is determined by Error Amount, which is what you input. The RGB value +-Error is the judgment condition.
This mode allow you reading the HSVL value of EV3 Color sensor (convert from RGB)
．Add HSVL Mode.
．Remove Raw value mode (merge to EV3-AdvEV3Col-Block)