Closed daanjels closed 5 years ago
The sensor can detect light and colour. It seems that the only available mode for light is ambient. That makes me wonder how I can put that to use... Using the colour sensor it is possible to detect brightly coloured objects like Lego pieces. My first simple class can distinguish white, black, red, yellow and blue. Adding green and gray to the list would be nice. Maybe I should measure the ambient light first to get better results interpreting the RGB input values.
Basics are covered, I already started a line follower routine...
Write a class that uses the color sensor on the EV3