Achievement Available
Complete this challenge in Robot Virtual Worlds to earn this achievement.
 
  • Virtual World: Intro to EV3
  • Level: Color Sensor Compare Switch Challenge
  • Robot: EV3 - Color Front
 

Program the robot to turn left or right, depending on what color it sees!

Using switches, program the robot to turn right (using 100 as the Steering value for .5 rotations) if the Color Sensor sees the color green, or turn left (using -100 as the Steering value for .5 rotations) if it sees anything else. Make sure the Color Sensor is attached and facing forward.

 
 
Contact Us