This video shows how to sense color using the VEX optical sensor. It covers setting up the sensor and how to use it, along with using if statements to make decisions in your code.
VEX IQ Tutorial Playlist: • VEX IQ Tutorials
0:00 Intro
0:13 Optical Sensor Setup
0:40 Red Light, Green Light
1:59 Adding More Colors
2:50 If Statements
4:13 Conclusion
VEXcode IQ App: https://www.vexrobotics.com/vexcode/i...
VEX IQ Building Instructions: https://www.vexrobotics.com/iq/downlo...