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

 找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 2013|回復: 0
打印 上一主題 下一主題
收起左側

stm32f407 2.2寸彩屏驅動_176220 Cadence格式的PCB工程

[復制鏈接]
跳轉到指定樓層
樓主
ID:468779 發(fā)表于 2021-2-28 13:00 | 只看該作者 |只看大圖 回帖獎勵 |倒序瀏覽 |閱讀模式
驅動為ILI9225,采用并口驅動,附件包含屏幕的底版Cadence工程文件,直接可以制版。

單片機源程序如下:
  1. #include "stm32f4xx.h"
  2. #include "led.h"
  3. #include <stdio.h>
  4. #include "timer.h"

  5. extern const unsigned char gImage_qq[3200];
  6. extern const unsigned char gImage_hua[77440];
  7. extern const unsigned char gImage_shui[77440];
  8. int main(void)
  9. {
  10.   LED_GPIO_Config();                  //GPIO管腳初始化
  11.         delay_init();
  12.         Initial();
  13.         BL_ON;
  14.         showimage(gImage_shui);//圖片顯示示例
  15.         delay_s(10);        
  16.   while (1)
  17.   {
  18.           Lcd_Clear(RED);
  19.           delay_s(3);
  20.         Lcd_Clear(GREEN);
  21.          delay_s(3);
  22.         Lcd_Clear(BLUE);
  23.          delay_s(3);
  24.         Lcd_Clear(YELLOW);
  25.          delay_s(3);
  26.           Lcd_Clear(BLACK);
  27.          delay_s(3);
  28.           Lcd_Clear(WHITE);
  29.          delay_s(3);
  30.           showimage(gImage_hua);//圖片顯示示例
  31.         Gui_DrawFont_GBK16(30,155,BLACK,YELLOW,"深圳市丹杰科技");
  32.         delay_s(100);
  33.   }
  34. }





  35. /*******************************************************************************
  36. * Function Name   : assert_failed
  37. * Description          :
  38. *                                       
  39. * Input                      : None
  40. * Output                  : None
  41. * Return                  : None.
  42. *******************************************************************************/
  43. #ifdef  USE_FULL_ASSERT
  44. void assert_failed(uint8_t* file, uint32_t line)
  45. {
  46.   /* User can add his own implementation to report the file name and line number,
  47.      ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line)
  48.         */

  49.   /* Infinite loop */
  50.   while (1)
  51.   {
  52.   }
  53. }
  54. #endif
復制代碼


所有資料51hei提供下載:
丹杰2.2tft STM32F407_176220.7z (1.83 MB, 下載次數: 12)

評分

參與人數 1黑幣 +50 收起 理由
admin + 50 共享資料的黑幣獎勵!

查看全部評分

分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏1 分享淘帖 頂 踩
回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術交流QQ群281945664

Powered by 單片機教程網

快速回復 返回頂部 返回列表