예제 #1
0
int main(int argc, char* argv[])
{
	initAllSystems();
	MainGame().run();
	quitAllSystems();
	return 0;
}
예제 #2
0
int main(void){
	initAllSystems();
	init();
	while(1){
		loop();
		checkMeasurements();
		checkMessages();
		if(taskListCheck()){
			printf_P(PSTR("Error! We got ahead of the task list and now nothing will execute.\r\n"));
			printTaskQueue();
			taskListCleanup();
		}
		delayMS(1);	
	}
	return 0;
}