Forum Discussion
Altera_Forum
Honored Contributor
13 years agoThe microc don't do anothers tasks
Hi, I was reading the example code "hello_ucosii.c", but when I modify the code he made only the task1. My code modified is: # include <stdio.h># include "includes.h"# include "system.h"# inc...
Altera_Forum
Honored Contributor
13 years agoThe highest priority task runs until it blocks.
In your code snippet, "TASK1" has the highest priority but never blocks, while "TASK2" has lower priority but sleeps for 3 seconds at a time. Switch the priorities around and try again.