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.

Sensor Controller project with multiple tasks

Other Parts Discussed in Thread: CC2640

Using the CC2640 I need to have 3 different task for the sensor controller interface.  The first task, an optical decoder, I got working with just one scifStartTasksNbl() and a while (1) loop.  Then I added the ADC task to the SCI project.  But in CCS I can't figure out how to get them both to work.  I tried starting one then stopping it, then doing the same for the next, and then looping.  Although I got two different answers on my monitor the decoder wouldn't update. That task needs to run all the time to catch state changes.   I then tried the execute task once but got similar results.  Is there a sample project that contains multiple tasks so that I can educate myself?

Also, none of the examples have termination code.  When is that necessary to use?

Thanks,

Tom