Hi, I'm trying to learn the MULTI-TASKING concept using RTX51 Tiny. I noticed that you no longer use the main. You always start with TASK 0. But If I need to INIT my MCU, how do I proceed ? Because if I put my init() in the TASK0, my MCU will be initialized several time, no ? Help a newbie ;-) Thx
Task 0 is the entry for your program. It must contain a 'forever' loop such as a while(1){...}. Just put your init prior to the while(1) loop. It will init only one time.