int main(void)
{
//===Initialization
Initialization();
//===Execute
//LCD_Clear(YELLOW);
GUI_SetBkColor(GUI_YELLOW);
GUI_SetColor(GUI_WHITE);
GUI_Clear();
GUI_DrawCircle(100,100,120);
GUI_DrawCircle(100,100,100);
GUI_DrawCircle(100,100,0);
//GUI_SetFont(&GUI_Font24B_ASCII);
//GUI_DispStringAt("ABCD",100,100);
//GUI_DispStringAt("caonimei",100,100);
//===OS Execute
OSInit();
OSTaskCreate(start_task,(void *)0,(OS_STK *)&START_TASK_STK[START_STK_SIZE-1],START_TASK_PRIO );//???¨????????
OSStart();
}
void Initialization(void)
{
delay_init(72);
NVIC_Configuration();
uart_init(9600);
LED_Init();
GUI_Init();
//EBalance_Init();
}
|