This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

i2c通信问题,求教



一个指南针模块,用的i2c通信,读取数据一直不变为255 255 240等 调了好久

 这个i2c的程序是不是有问题,望大神赐教~~~先谢啦。。

以下是程序

(指南针模块说明里:

main函数里的