www.pudn.com > STC89C52.rar > Main.c, change:2011-11-28,size:507b


 
 
#include "Device.h" 
 
 
void main(void) 
{ 
	InitHardware(); 
 
	OSInit(); 
//	OSTaskCreate(MyTask1,(void*)0,&TaskStk1[0],0); 
//	OSTaskCreate(MyTask2,(void*)0,&TaskStk2[0],1); 
//	OSTaskCreate(MyTask3,(void*)0,&TaskStk3[0],2); 
	//OSTaskCreate(MyTask4,(void*)0,&TaskStk4[0],3); 
	//OSTaskCreate(MyTask5,(void*)0,&TaskStk5[0],4); 
	//OSTaskCreate(MyTask6,(void*)0,&TaskStk6[0],5); 
	//OSTaskCreate(MyTask7,(void*)0,&TaskStk7[0],6); 
	//OSTaskCreate(MyTask8,(void*)0,&TaskStk8[0],7); 
	OSStart(); 
}