Introduction - If you have any usage issues, please Google them yourself
1.Create several tasks and Create private Message Queue for each task.
2.Task1:Manage other tasks.Syncronize other tasks and use semFlush() to complish it.Then receive warning message from other tasks and delete them when the system is runing over.
3.Task2:Driver task.Use taskDelay() to send driving message to Task3 and Task4 periodicly.
4.Task3:Sender Task.Receive driving message from Task2 and send message to Task4.
5.Task4:Receiver Task.Receive message from Task2 and Task3,then send ACK message to Task3 when it have received the message form Task3.
6. Use logMsg() to output the debug message and working status message.