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.

[参考译文] CC2650STK:更改加速计阈值

Guru**** 2431470 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/657044/cc2650stk-change-accelerometer-threshold

器件型号:CC2650STK

TI 的 SimplinkLink cc2650DTK 器件应用可以设置运动唤醒标志。  在 Wiki 页面- http://processors.wiki.ti.com/index.php/CC2650_SensorTag_User%27s_Guide- 中、我了解了如何设置标志和加速计阈值。

我希望能够通过手机应用程序更改设备中的设置、即:

#define GYR_Shake_THR 10.0
#define WOM_THR 10.

这是可行的吗? 或者、这些条件是否与 Wiki 页面中描述的条件相同?

谢谢你

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

    您好、Don、

    手机应用程序将无法执行此操作。 您必须直接修改代码中的值。

    但是、您可能会尝试编辑项目以使用预先存在的传感器周期滑块来修改阈值吗?

    这是滑块在项目中修改周期的位置(sensortag_mov.c):

    外壳 SENSOR_PERI:
    Moving_getParameter (sensor_peri、newValue8);
    sensorPeriod = newValue8 * sensor_period_resolution;
    Util_eliteduleClock (周期时钟、sensorPeriod);
    中断; 

    -苏锡