Setup a Color Sensor v2

Hello, I am part of team 6922 and I have some doubts about the color sensor. I do not know how to install the libraries for the color sensor and how to add the code. Please help me out.

You might need a V3 instead, but generally if you follow the instructions here:

You’ll need to add the Vendor Library for it, and you can use the example code to get the values outputted to the Smart Dashboard of your Driver Station

Our team has only used the V3, so I can’t tell you how it would work with the V2 because it was meant only for FTC as to my knowledge

Why do you want to use a v2 sensor, when you got a v3 sensor in your kit?

1 Like

Thank you so much for the help.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.