I am speaking in regards to cc2650 launchpad and TI-RTOS.I tried to combine aspects of heart rate and project zero in the same project.
The project zero was being used to toggle LEDs through an android Application where it was also storing the log of the time and mobile number which toggled the led.
I wanted to transmit this stored log, so i tried to combined the heart rate with my project zero.
If I define 2 tasks in a same project, for example two separate functions for Project Zero and Heart Rate, can I share memory between the two functions? Right now I am defining all the functions in the same task.
If the memory sharing is not possible, is it possible to define two separate tasks for project zero and heart rate in the same project and use the task switch option, if any , to get the cc2650launchpad to transmit the datalog to the smartphone. Essentially, the heart rate task fxn will be used as a transmitter. Please let me know your views on this. Sorry to trouble you.
I understand that my end application might require memory sharing between these two functions since task 1 will store the log and task 2 will transmit it . But I can't wrap my head around how to do it.
Please Help.
Regards,
Keyshav