主题中讨论的其他器件:OPT3001、 SysConfig
工具/软件:Code Composer Studio
在我的项目中、我使用了 opt3001传感器驱动器、
在调试期间、编译器无法打开驱动程序文件。
在这里、您可以看到、
opt3001Handle = OPT3001_open (Board_OPT3001_light、i2cHandle、&opt3001Params); //错误-打开失败
有人能清楚地了解这一点吗?
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
在我的项目中、我使用了 opt3001传感器驱动器、
在调试期间、编译器无法打开驱动程序文件。
在这里、您可以看到、
opt3001Handle = OPT3001_open (Board_OPT3001_light、i2cHandle、&opt3001Params); //错误-打开失败
有人能清楚地了解这一点吗?
是的、它会在 操作系统调试模式下打开驱动程序文件。
此外、它在 TI Cloud CCS 编译器中也能很好地工作。
但在调试模式下:
opt3001Handle = OPT3001_open (Board_OPT3001_light、i2cHandle、&opt3001Params);
/*检查打开是否成功*/
if (opt3001Handle = NULL)
{
display_print0 (display、0、0、"OPT3001 Open Failed!"); // open failed => Program 计数器始终保持在此处。
while (1);
}
我不知道该怎么做。