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.
工具/软件:Code Composer Studio
您好!
有人建议我在此提出以下问题:
为什么当我在 .h 内声明 g_bMPU6050Done 时、问题永远不会发生
但是、当我在.c 文件(添加到我的 CCS 项目中)中声明它时、会发生这种情况...
要了解声明和定义全局变量的最佳方法、请参阅 此常见问题 解答(不是来自 TI)。 我不确定您的案例中会发生什么错误。 但我怀疑您没有在 main.c 包含的头文件中放置 g_bMPU6050Done 的声明
谢谢、此致、
乔治