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.

[参考译文] CCS/MSP430FR2633:#20 identifier "pButtonGroup"未定义

Guru**** 2604225 points
Other Parts Discussed in Thread: MSP430FR2633

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/650298/ccs-msp430fr2633-20-identifier-pbuttongroup-is-undefined

器件型号:MSP430FR2633

工具/软件:Code Composer Studio

大家好、

我 将 MSP430FR2633用于 Button 组。需要获取多米诺按钮 ID、因此我在 CAP_buttons.h 中找到了" extern uint8_t CAPT_getDominantButton (TSENSOR * pButtonGroup);"

以下是我的代码的一部分:

lastDominantbutton=CAPT_getDominantButton (TSENSOR*pButtonGroup);


问题

说明   资源   路径   位置   类型
#20标识符"pButtonGroup"未定义   
说明   资源   路径   位置   类型
不允许使用#256类型名称   

自评论以来,迷人的技术指南,但尚未找到答案。


请提出任何建议。

思考

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Matt、

    使用 CAPT_getDominantButton (&tSensorName);其中 tSensorName 是在 CapTIvate 设计中心中创建的按钮组、生成到 CCS 项目中、并在 captate_config 文件夹的 CAPT_UserConfig 文件中定义。

    此致、
    Ryan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Ryan、

    工作正常。

    非常感谢! 新年快乐!

    Matt