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: CC2650STK - Customize the Code

Part Number: CC2650STK


Hi All,

Please, I need to create a very simple FW using the CC2650STK but I`m very confused
with the CC2650STK framework. To be honest it is very messed amount information about. If possible
I want a generic guidelines or tips to my task.

TASK
====

- Using the CC2650STK I need a standalone(no Bluetooth connection) FW to alert (using the buzzer) when the Acceleration
is bigger then a LIMIT for more than SECONDS_ALLOW . Basically:

if ((sqrt((x*x)+(y*y)+(z*z))) > E_LIMIT)
{
count_second++;
}

if (count_seconds > SECONDS_ALLOW)
{
BUZZER_ON;
EVENT_COUNTER++;
}
else
{
BUZZER_OFF;
}


- The E_LIMIT and SECONDS_ALLOW need to be configured using and APP.
- The EVENT_COUNTER need to retrieved and RESETED if desired.

ATTEMPT
========
I tried using the sensortag FW but if I add any new code to the task it stops, as well I tried
to add a new Task, but i stopped other taks. And yes I incremented the number of taks in he APP and in the STACK.

.
Any Help I will appreciate.

Thank You !