文件名称:main_prog_lcd
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 王**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
PIC16F690上接LCD 1602A的显示驱动
Set these pins to outputs:
PORTC: RC0 -> PIN 11 (DATA, DB4)
RC1 -> PIN 12 (DATA, DB5)
RC2 -> PIN 13 (DATA, DB6)
RC3 -> PIN 14 (DATA, DB7)
RC4 -> PIN 6 (E)
RC5 -> PIN 4 (RS)
LCD: PIN 5 (R/W) -> Gnd (Or connect to RA0 if you want to read from LCD, not used in this lab)
Power: Pin 1 --> Gnd
Pin 2 --> Vcc
Pin 3 --> Contrast: Potentiometer center (10kohm, so you can vary voltage between 0-5V to this pin)-LCD_1602A display driver
Set these pins to outputs:
PORTC: RC0 -> PIN 11 (DATA, DB4)
RC1 -> PIN 12 (DATA, DB5)
RC2 -> PIN 13 (DATA, DB6)
RC3 -> PIN 14 (DATA, DB7)
RC4 -> PIN 6 (E)
RC5 -> PIN 4 (RS)
LCD: PIN 5 (R/W) -> Gnd (Or connect to RA0 if you want to read from LCD, not used in this lab)
Power: Pin 1 --> Gnd
Pin 2 --> Vcc
Pin 3 --> Contrast: Potentiometer center (10kohm, so you can vary voltage between 0-5V to this pin)-LCD_1602A display driver
(系统自动生成,下载前可以参看下载内容)
下载文件列表
main_prog_lcd.c