横屏显示

寄存器R0 R60 设置SS=0,GS=0,或者SS=1,GS=1,效果为起始坐标不一样 ;

R3寄存器也很重要,横竖屏重要参数靠它

 seng_cmd_dat(0x00e7,0x0010); //seng_cmd_dat(0x0001, 0x0100); // set SS and SM bit
#if USE_HORIZONTAL == 1seng_cmd_dat(0x0001,HORIZONTAL_R01);//SM=0
#else   //竖屏seng_cmd_dat(0x0001,(Vertical_R01));//SM=0
#endif  //seng_cmd_dat(0x0002,0x0200); // set 1 line inversion seng_cmd_dat(0x0002,0x0700);//电源开启//seng_cmd_dat(0x0003,0x1028); // set GRAM write direction and BGR=1. //seng_cmd_dat(0x0003,HORIZONTAL_MODE1); // set GRAM write direction and BGR=1.
#if USE_HORIZONTAL == 1   //BGR     HWM   ORG   ID     AMseng_cmd_dat(0x0003,HORIZONTAL_MODE);
#else   //竖屏seng_cmd_dat(0x0003,Vertical_MODE);
#endif  seng_cmd_dat(0x0004,0x0000); // Resize register seng_cmd_dat(0x0008,0x0202); // set theback porch and front porch seng_cmd_dat(0x0009,0x0000); // set non-display area refresh cycle ISC[3:0] seng_cmd_dat(0x000A,0x0000); // FMARK function seng_cmd_dat(0x000C,0x0000); // RGB interface setting seng_cmd_dat(0x000D,0x0000); // Frame marker Position seng_cmd_dat(0x000F,0x0000); // RGB int erface polarity //*************Power On sequence **************** // seng_cmd_dat(0x0010,0x0000); // SAP,BT[3:0],AP,DSTB,SLP,STB seng_cmd_dat(0x0011,0x0007); // DC1[2:0 ],DC0[2:0],VC[2:0] seng_cmd_dat(0x0012,0x0000); // VREG1OUT voltage seng_cmd_dat(0x0013,0x0000); // VDV[4:0] for VCOM amplitude Delayms(200);                         // Dis-charge capacitor power voltage seng_cmd_dat(0x0010,0x1690); // SAP,BT[3:0],AP,DSTB,SLP,STB seng_cmd_dat(0x0011,0x021a); // R11h=0x 0221 at VCI=3.3V,DC1[2:0],DC0[2:0],VC[2:0] Delayms(50);                          // drv_msec_wait 50ms seng_cmd_dat(0x0012,0x008a); // External reference voltage= Vci; Delayms(50);                          // drv_msec_wait 50ms seng_cmd_dat(0x0013,0x1f00); // VDV[4:0] for VCOM amplitude seng_cmd_dat(0x0029,0x0021); // VCM[5:0] for VCOMH seng_cmd_dat(0x002B,0x000d); // Frame Rate = 91Hz Delayms(50);                  // drv_msec_wait 50ms seng_cmd_dat(0x0020,0x0000); // GRAM horizontal Address seng_cmd_dat(0x0021,0x0000); // GRAM Vertical Address // ----------- Adjust the Gamma Curve ----------// //a-Si TFT LCD Single Chip Driver //240RGBx320 Resolution and 262K color  ILI9325D//The information contained herein is the exclusive property of ILI Technology Corp. and shall not be distributed,reproduced,or disclosed in //whole or in part without prior written permission of ILI Technology Corp.//Page 24 of 26  V0.14seng_cmd_dat(0x0030,0x0000); seng_cmd_dat(0x0031,0x0303); seng_cmd_dat(0x0032,0x0103); seng_cmd_dat(0x0035,0x0103); seng_cmd_dat(0x0036,0x0004); seng_cmd_dat(0x0037,0x0406); seng_cmd_dat(0x0038,0x0404); seng_cmd_dat(0x0039,0x0707); seng_cmd_dat(0x003C,0x0301); seng_cmd_dat(0x003D,0x0004); //------------------ Set GRAM area ---------------// seng_cmd_dat(0x0050,0x0000); // Horizontal GRAM Start Address seng_cmd_dat(0x0051,0x00EF); // Horizontal GRAM End Address seng_cmd_dat(0x0052,0x0000); // Vertical GRAM Start Address seng_cmd_dat(0x0053,0x013F); // Vertical GRAM Start Address //seng_cmd_dat(0x0060,0xA700); // Gate Sc an Line
#if USE_HORIZONTAL == 1seng_cmd_dat(0x0060,HORIZONTAL_R60);
#else    //竖屏seng_cmd_dat(0x0060,Vertical_R60);
#endifseng_cmd_dat(0x0061,0x0001); // NDL,VLE,REV seng_cmd_dat(0x006A,0x0000); // set scrolling line //-------------- Partial Display Control ---------// seng_cmd_dat(0x0080,0x0000); seng_cmd_dat(0x0081,0x0000); seng_cmd_dat(0x0082,0x0000); seng_cmd_dat(0x0083,0x0000); seng_cmd_dat(0x0084,0x0000); seng_cmd_dat(0x0085,0x0000); //-------------- Panel Control -------------------// seng_cmd_dat(0x0090,0x0010); seng_cmd_dat(0x0092,0x0600); seng_cmd_dat(0x0007,0x0133); // 262K color and display ON seng_cmd_dat(0x0020,0x0000);                                                            seng_cmd_dat(0x0021,0x013f);   Delayms(10);LEDK=0;    dsp_single_colour(RED);

ili9325几个重要参数说明相关推荐

  1. VS Code 安装插件、自定义模板、自定义配置参数、自定义主题、配置参数说明、常用的扩展插件

    1. 下载和官网教程 下载地址:https://code.visualstudio.com/ 官方教程:https://code.visualstudio.com/docs 2. 安装插件 安装扩展插 ...

  2. arcgis合并tif影像_微图影像地图导出拼接大图的参数说明

    1. 概述 微图是一款集地图下载与GIS功能于一体的轻量级GIS产品,相较于X3版本的万能地图下载器,它有更丰富的地图数据和更专业的GIS功能. 尽管微图的软件界面已经足够简洁明了,但为了让新用户能更 ...

  3. dbcp 连接池参数说明

    dbcp 连接池参数说明 参考: http://commons.apache.org/proper/commons-dbcp/configuration.html https://www.cnblog ...

  4. 从头到尾使用Geth的说明-3-geth参数说明和环境配置

    1.参数说明 ETHEREUM选项:--config value TOML 配置文件--datadir "/home/user4/.ethereum" 数据库和keystore密钥 ...

  5. ps aux参数说明

    运行 ps aux 的到如下信息:   ps aux USER    PID   %CPU %MEM VSZ   RSS TTY    STAT   START TIME COMMAND smmsp ...

  6. redis.conf配置文件参数说明

    参数说明 redis.conf 配置项说明如下: 1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程 daemonize no 2. 当Redis以守护进程方式 ...

  7. R语言使用plot函数和lines函数可视化线图(line plot)时、图之间的主要区别是由选项type产生的、type参数常用参数说明、不同type生成的可视化图像对比

    R语言使用plot函数和lines函数可视化线图(line plot)时.图之间的主要区别是由选项type产生的.type参数常用参数说明.不同type生成的可视化图像对比 目录

  8. redis配置文件redis.conf参数说明

    redis配置文件redis.conf参数说明 (2013-01-09 21:20:40)转载▼ 标签: redis配置 redis.conf 配置说明 杂谈 分类: nosql # By defau ...

  9. window.open()函数参数说明

    window.open使用方法以及参数说明 window.open参数window.open方法window.open使用 一.window.open()支持环境:JavaScript1.0+/JSc ...

最新文章

  1. ewebeditor 5.2 列目录漏洞
  2. python编程计算1!+2!+...+10!_如何用C语言编程计算 1!+2!+3!+…+10!?
  3. 面向对象也可以搞单片机!
  4. 理解正确的日志输出级别
  5. 基于JAVA+SpringBoot+Vue+Mybatis+MYSQL的微信小程序点餐系统
  6. 关于使用TestDriven.Net 2.0的一点补充
  7. 各种排序算法总结和比较
  8. 自动驾驶OS市场的现状及未来
  9. Zigbee协议栈————广播组网
  10. 2022.08 VMware官网下载安装+配置Linux虚拟机,最新最全
  11. 阿宁的linux学习---vi/vim
  12. 开启WIN10的卓越性能模式
  13. 敏捷模式下携程的接口自动化平台演变
  14. 网络互联期末作业复习题
  15. php实现爬虫抓取法定节假日放假和补班安排数据
  16. C++字符串转为大写/小写
  17. emqx速度_MQTT研究之EMQ:【EMQX使用中的一些问题记录(1)】
  18. ebcdic编码与ascII编码互转
  19. Adobe Photoshop Lightroom Classic 中文版
  20. spring cloud读取配置文件

热门文章

  1. 100种思维模型之逆向思维模型-46
  2. 十部门:多渠道拓宽贫困地区农产品营销渠道
  3. R语言机器学习与大数据可视化暨Python文本挖掘与自然语言处理核心技术研修
  4. Effective Source Insight
  5. (转)证券行业科技实践与前瞻
  6. asp upload控件使用基本入门
  7. 正则表达式匹配URL或者网址
  8. RethinkDB创始人教你如何打造一个伟大的产品
  9. TMS FNC UI Pack 3.1Crack,四个框架和五个操作系统的强大控件
  10. cad2014卡顿的解决方法_CAD卡顿怎么办?手把手教你CAD卡顿如何自救!