What model do you have ?
As far as I know, only the TFMINI-S and TFMINI PLUS can work I2C with ArduPilot.
More here: