How can I use external magnetometer?


I’m trying to read data from external magnetometer. I connected the magnetometer to I2C1 Bus on CUAV V5. When I try to ak8963 -X start, I’m getting a warning message, WARN [SPI_I2C] ak8963: no instance started (no device on bus?), but my sensor can be seen when I type i2cdetect. What should I do?