- 4.9_CANRcv_snd easy ARM lm3s8962 CAN 总线 通讯实验 使用IAR 开发环境
- counter_using877a this program is developed to make counter using PIC16f877a and display the value using LCD display or 7 segment display.
- skyblue_BoxMan 推箱子游戏源代码
- phpws_y2af 服务端脚本语言php实现
- LED_demo My initial attempt of porting the FreeRTOS Demo was considerably a success. But later on
- GridPMatlab Matlab source code for smart grid development.
文件名称:LCD1602_PIC16_driver_for_C
介绍说明--下载内容来自于网络,使用问题请自行百度
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).
//单片机: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.