Description: this example is another example of a two way (but the number of different tasks), it uses the highest-priority task, as shown mandate, ShowChar global variable as a parameter. TaskB function is a priority task to ten function, because no use local variables, these tasks can use a function. attention : (1) in KEIL C51 project, I have incorporated the output directory in e : \ temp, you could Project-
File list (Check if you may need any files):