LCD初始化显示
void lcd_display()
{
TFT_ClearScreen(BLACK);
GUI_Show12ASCII(10,10,"PRECHIN",GREEN,BLACK);
GUI_Show12ASCII(10,30,"www.prechin.com",GREEN,BLACK);
GUI_Show12ASCII(10,50,"DHT11 Test!",GREEN,BLACK);
GUI_Show12ASCII(10,70,"2015-11-12",GREEN,BLACK);
GUI_Show12ASCII(10,100,"Temp: C",GREEN,BLACK);
GUI_Show12ASCII(10,130,"Humi: %RH",GREEN,BLACK);
}
|