ftctechnh / ftc_app

FTC Android Studio project to create FTC Robot Controller app.
761 stars 3.16k forks source link

How to send data through i2c? trying to communicate with Pixy2 camera #714

Open ftc12265 opened 5 years ago

NoahW314 commented 5 years ago

This FTC forum post has some information and code that should help you communicate with the Pixy2.

Windwoes commented 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.

Windwoes commented 5 years ago

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