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.

[参考译文] CC2540:设置调度程序/计时器/时钟以在特定时间打开 LED

Guru**** 2576215 points
Other Parts Discussed in Thread: CC2540

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/590860/cc2540-set-up-scheduler-timer-clock-to-turn-on-led-at-certain-times

器件型号:CC2540

您好!  

我目前正在开发和评估 TI 开发套件 CC2540 TDK-Light。

我的目标是让我的 CC2540在一天中的不同时间打开/关闭 LED 灯串、而无需添加任何额外的硬件、如 RTC。 此时、我的代码可以通过在 特性表中输入不同的值来打开/关闭不同的 LED、但不确定如何设置调度程序/时钟、使 其在我需要的时候点亮 LED 灯串。 我一直在探索和查看不同的 TI 参考设计以获取参考和指南、但我很幸运、想知道您是否有任何建议/建议。  

谢谢、  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您可以使用 API osal_start_timerEx 来安排计时器事件来执行此操作。