Forum Discussion
Altera_Forum
Honored Contributor
14 years agoRead problem by using MicroC/OS-II
Hi, I'm a new in using mutitasking tasks. I have the following code:
int startTheSystem=0;
int systemWasBooted=0;
int controlTheSystem=0;
char befehl;
long int zahl=0;
void system_Monitoring(...
Altera_Forum
Honored Contributor
14 years agoTry inserting a TK_SLEEP(10) between printf and next scanf.
This will force the task to momentarily release the control, allowing the OS to schedule other lower priority tasks in execution state, in particular the one which sends data to the console through jtag uart.