Open ftc12265 opened 5 years ago
You cannot use the Pixy in the default I2C mode. You need to use it in Lego mode. Default I2C mode doesn't work because of the extremely high (when compared to an Arduino) latency of I2C operations through the SDK.
Also keep in mind that the user-created firmware created for FTC that allows the Lego mode to return more data is illegal for competition
This FTC forum post has some information and code that should help you communicate with the Pixy2.