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.

[参考译文] CCS/TM4C129ENCPDT:用于 MPU6050的 I2C

Guru**** 2445440 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/633183/ccs-tm4c129encpdt-i2c-for-the-mpu6050

器件型号:TM4C129ENCPDT

工具/软件:Code Composer Studio

大家好、我是 IC2协议的新用户、以前使用 Arduino、但现在我计划使用 TM4C129、I2C 示例未显示从 MPU6050等从器件写入寄存器的方法。 我有一个具体的问题。

如何从从从器件中选择特定的寄存器方向、以及如何修改它?

请务必不要使用 MPU6050或 MPU9150可用的库或示例代码、我只想使用 driverLib 中的写入和读取命令来理解它。

谢谢