I'm trying to make a Color Sensor on port 1 that will continuously look check for a color so that when it finds that color, it reacts in some way. Such as, when the color sensor sees red, the robot will turn right, or when the robot sees yellow, it will turn left. I just don't quite know how to make the color sensor continually get input without just using the getColorID method over and over. Can anyone give me some idea of how to do something like this? Thank you.
-Calvin
