Mbot color sensor values sum write on led matrix


#1

Hey i wanna sum of values color sensor, and i wanna write this values on LED Matrix.

How can i? Help me pls.

Thanks


#2

Hi aalimkeskinn,

You can use the program block color sensor [port][color] Value to read the detected value of the sensor and assign the value to a variable, picture below is an simple example.
image
For particular program, you can complete it according to your actual application.


#3

Hey thanks for help. So how can i do for yellow color?


#4

Hi aalimkeskinn,

The three base color of the color sensor is RED, GREEN, BLUE, so it can only read the value of the base color.
But when you use it to identify the color, it can identify six color as explained in this link.


#5