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.
This is where you talk about the NXJ software itself, installation issues, and programming talk.
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest