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.

msp430f5529开发板 电容触摸屏驱动不能使用?



我碰到了一个疑惑:

我编译5529用户体验程序时完全正常

但是当我将其中的电容触摸相关.h文件和.c文件复制到另一个工程里时 编译器却报错了

如下的结构体声明没有通过编译 具体出错的就是所有出现 ".xxxx……"这样的地方

const struct Element element0 = { //CB0, P6.0
.inputBits = CBIMSEL_0,       //此处报错

.maxResponse = 250,        //此处报错

.threshold = 125             //此处报错
};

求问我是哪里弄错了?