主题中讨论的其他器件:SysConfig、 TMP75、TMP117
工具与软件:
我正在尝试使用 TMP75获取温度、其中 I2C 引脚设置为 PB3和 PB2、但无法打印任何内容。 是否好像我不能将 driverlibrary API 用于此目的、或者我应该仅使用驱动程序中的 API? 请向我提供一个运行代码示例、该代码示例与"Resource Explorer"窗口中显示错误的 i2ctmp 的 SysConfig 文件相同
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.
工具与软件:
我正在尝试使用 TMP75获取温度、其中 I2C 引脚设置为 PB3和 PB2、但无法打印任何内容。 是否好像我不能将 driverlibrary API 用于此目的、或者我应该仅使用驱动程序中的 API? 请向我提供一个运行代码示例、该代码示例与"Resource Explorer"窗口中显示错误的 i2ctmp 的 SysConfig 文件相同
您可以参考此演示代码
https://dev.ti.com/tirex/explore/node?node=A__AB.0jCUB3vTkGXeSK72L9A__msp430ware__IOGqZri__LATEST
如您所见、其中包括如何从 与 TMP75类似的 TMP117读取数据 。