刚接触,求问怎么分析时序,下面是我的程序主函数,结果第二段指示灯闪烁的可以实现,就是不可以显示字符为什么int main(void)
{
TFT_Initial();//???
while(1)
{
show_colour_bar(); //????
ClearScreen(0xff00);
Show_RGB (0,240,0,320,0xff00);//??320x240????
ClearScreen(0xff00);
LCD_Write_Command('a');
char a[4]={'a','b','c','d'};
LCD_PutString(0,0,a,0x0000,0x00f8);
LCD_PutString(0,32,a,0xffff,0xf800);
LCD_PutString(0,64,a,0x2334,0x0045);
LCD_PutString(0,96,a,0x0560,0x0a80);
LCD_PutString(0,128,a,0x0000,0x0f80);
LCD_PutString(0,160,a,0x0000,0x0f80);
LCD_PutString(0,192,a,0x0000,0x0f80);
LCD_PutString(0,224,a,0x0000,0x0f80);
LCD_PutString(0,256,a,0x0000,0x0f80);
LCD_PutString(0,288,a,0x0000,0x0f80);
LCD_PutString(0,320,a,0x0000,0x0f80);
LCD_PutString(0,352,a,0x0000,0x0f80);
while(1)
{
myled=1;
wait(1);
myled=0;
wait(1);
//????
}
}
} |