Hello CD!
So we received the V3 color sensor by Rev, and like many people, we were excited. However, looking into it further, the I2C port in the robotpy wpilib api is a little overwhelming. Can someone explain how I determine the correct register addresses? I understand that Rev provides the 0x52 ID, which I use to create the object, but what is the kMXP port exactly, if onboard is the fixed port on the Rio?
On my output side of things, I see static constants when I try to ‘read’ the sensor. How do I access the specific color values (and how are they returned)? I have seen other videos on using it with Labview, and the other supported languages have official libraries.
Once again, if I could get some clarification on how to handle this sensor, I’d appreciate it! Thanks in advance!