Hello, I am part of team 6922 and I would like to know how to setup a color sensor. I need the libraries and code so that it can display the color that it is sensing. Thanks!
1 Like
are there any libraries that I have to install aswell?
1 Like
Yes, follow the link to http://www.revrobotics.com/rev-31-1557/
2 Likes
and the code in this link: https://github.com/REVrobotics/Color-Sensor-v3-Examples/tree/master/Java will show the color that the sensor is perceiving?
1 Like
Yes, look under https://github.com/REVrobotics/Color-Sensor-v3-Examples/blob/master/Java/Color%20Match/src/main/java/frc/robot/Robot.java
Thank you so much!
How do I add the library?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.