下午用你们的例程调试了下个触摸按键,没有问题了,我自己建个函数,把你们的库都加进去了(我用的到的),结果编译的时候出现了6个错误,找不到问题在哪儿,知道的告诉下吧!!
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.
不是我, 在例程里面修改后可以编译的,我新建个函数就不可以了!!!!
找到问题了!!!是下面的时钟配置的问题啊!!!!奇怪怎么不提示呢?再就是在原来的项目里面没有问题啊!!!!
// Set Vcore to accomodate for max. allowed system speed
// SetVCore(3); //设VCore为最大
// Use 32.768kHz XTAL as reference
// LFXT_Start(XT1DRIVE_0); //利用LFXT1(32.768kHZ)作为时钟参考
// Set system clock to max (25MHz)
// Init_FLL_Settle(25000, 762); //利用FLL(锁频环)将系统时钟设为最大25MHZ
你有看测量触摸的时钟源是什么,测量窗口是多大?测量一次计多少个周期