Establish an RTOS of your own AVR - Huang Jianchang