m
m
Line 12: Line 12:
  
 
==Code==
 
==Code==
 
 
You can find more examples on task switching [[Task switching depending on the priorities and the effect of task delay|here]].  
 
You can find more examples on task switching [[Task switching depending on the priorities and the effect of task delay|here]].  
  
Line 18: Line 17:
 
<script src="https://gist.github.com/Amritach/deeefdacacbe3f36f1a3.js"></script>
 
<script src="https://gist.github.com/Amritach/deeefdacacbe3f36f1a3.js"></script>
 
</html>
 
</html>
 +
 +
==Output==
 +
====Waveform====
 +
[[File:RTOS 03 logic analyzer.png|x250px|center|Waveform]]
 +
  
 
{{DISQUS}}
 
{{DISQUS}}

Revision as of 11:28, 27 May 2015

Amruta (talk) 13:43, 8 April 2015 (IST)


Intro

In last tutorial we saw the effect of vTaskDelay() function.

Now we will see how kernel does task switching depending upon the priorities.

If you are not familiar with what is task switching, check this.

Code

You can find more examples on task switching here.

Output

Waveform

Waveform