m
m
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
In previous tutorials we saw semaphore and mutex usage. Now we will see how to use queue.
 
In previous tutorials we saw semaphore and mutex usage. Now we will see how to use queue.
Before going through this tutorial, it will be good if you check Queue basics.
+
Before going through this tutorial, it will be good if you check [[RTOS Basics : Queue|Queue basics.]]
  
 
==Code==
 
==Code==
 +
 +
Find more examples on queue [[Use of Queue with delay in receiving task|here]]
  
 
<html><script src="https://gist.github.com/Amritach/ff0aa0ccfd9b4cad7577.js"></script></html>
 
<html><script src="https://gist.github.com/Amritach/ff0aa0ccfd9b4cad7577.js"></script></html>
 +
 +
==Output==
 +
====Waveform====
 +
[[File:RTOS 21 logicAnalyzer.png|center|framed|Waveform]]
  
 
{{DISQUS}}
 
{{DISQUS}}

Latest revision as of 12:04, 30 May 2015

Amruta (talk) 20:10, 23 April 2015 (IST)


Intro

In previous tutorials we saw semaphore and mutex usage. Now we will see how to use queue. Before going through this tutorial, it will be good if you check Queue basics.

Code

Find more examples on queue here

Output

Waveform

Waveform