欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標(biāo)題: STM32 TFT彩屏程序代碼 [打印本頁(yè)]

作者: 進(jìn)而種    時(shí)間: 2020-10-8 15:38
標(biāo)題: STM32 TFT彩屏程序代碼
這是我最近用TFT彩屏?xí)r的測(cè)試代碼。
  1. /* Includes ------------------------------------------------------------------*/
  2. #include "stm32f10x.h"
  3. #include "delay.h"
  4. #include "QDTFT_demo.h"
  5. #include "Lcd_Driver.h"
  6. #include "GUI.h"


  7. int main(void)
  8. {

  9.   SystemInit();        //System init.
  10.   delay_init(72);//Delay init.
  11.                 Lcd_Init();
  12.                 Lcd_Clear(GRAY0);
  13.   while(1)
  14.   {  
  15.                         LCD_LED_SET;//通過(guò)IO控制背光亮
  16. //                QDTFT_Test_Demo();        //See the test details in QDTFT_Demo.c               
  17.                 Gui_DrawLine(10,10,10,128,BLACK);
  18.                 Gui_DrawLine(10,10,32,10,BLACK);
  19.                 Gui_DrawLine(32,10,28,8,BLACK);
  20.                 Gui_DrawLine(32,10,28,12,BLACK);
  21. //                Gui_DrawPoint(50,50,1);
  22. //                Num_Test();//數(shù)碼管字體測(cè)試
  23.   }

  24. }





  25. /******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE****/
復(fù)制代碼


STM32 SPI綜合測(cè)試代碼.7z

204.91 KB, 下載次數(shù): 16, 下載積分: 黑幣 -5






歡迎光臨 (http://www.raoushi.com/bbs/) Powered by Discuz! X3.1