Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTOS/CC1310: Semaphore do while task is not finish

$
0
0

Part Number:CC1310

Tool/software:TI-RTOS

Hi,

I would like to know how to do a "do while" in a task compared to another task with a semaphore. I know the semaphore_pend but it is precisely the reverse of what wants to do.

exemple :

Task 1 : 

do while (semaphore){

led blinking

}

Task 2 : 

read sensor;

semaphore_post; //stop led blinking

Edouard


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>