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.

[参考译文] RTOS/CC2650STK:处理按钮按压操作

Guru**** 2562120 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/586743/rtos-cc2650stk-working-on-a-button-press

器件型号:CC2650STK

工具/软件:TI-RTOS

大家好!
我正在尝试修改传感器标签的固件、以便它在按键后开始广播。
我尝试将 main 函数中的创建任务移至 pinInterruptHandler,但这似乎不起作用:/
 
如何做到这一点是否有任何想法?

谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我还记得默认的 SensorTag 示例已经实现了类似的功能。 您可以参阅 BTN1/2按键实施。