CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 单片机(51,AVR,MSP430等)

文件名称:LCD1602_PIC16_driver_for_C

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2013-04-24
  • 文件大小:
    256.21kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

LCD1602驱动程序,4位总线方式

//单片机:PIC16F877A(4MHz)

//*** *** *** 初始化说明**************************

//4位总线方式初始化,应注意LCD接线方式,及初始化首条指令



//4位总线初始化方法:因LCD加电初始化后默认为8位总线方式,

//故首条指令只能以8位方式传送,此时高4位数据可以程序控制,

//(而低4位则取决于硬件接线方式)设定为4位总线方式的控制

//位,刚好在第4位,故此时可以将总线传送方式设为4位方式,当将

//总经传送方式设为4位后,LCD工作方式就完全可以控制了.



//关于低4位接线方式的说明:由于首条指令只需将总线方式设为

//4位传送方式,LCD便可控,因低4位的接线方式并不影响对LCD总

//线传送方式的设定,故低4位接线方式可任意(包括悬空).

-The LCD1602 driver, 4-bit bus// MCU: PIC16F877A (4MHz)//****************** initialization Descr iption**************************// 4 bus initialization should be noted that the LCD wiring, and the first instruction of the initialization// 4 bus initialization method: LCD power initialization defaults to 8 bit bus,// ​ ​ the first instruction can only be transferred to the 8-bit mode, the upper 4 bits of data can program control,// ​ ​ (the lower 4 bits depends on the hardware wiring) is set to 4-bit bus control// bit, just in the first four, so you can bus transfer mode is set to 4-bit mode,// ​ ​ General transmission mode is set to 4, the LCD work can control// low 4 wiring Descr iption: Since the first instruction simply bus mode is set to// 4 transmission mode, the LCD will be controllable, due to the low four wiring does not affect on LCD// line transmission method set, the lower 4 bits of wiring can be arbitrary (including vacant).
(系统自动生成,下载前可以参看下载内容)

下载文件列表

LCD1602_PIC16_driver_for_C.doc

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com

浏览历史记录

关闭