-
1602显示驱动程序
LCD1602的数据写入及CGRAM的使用
编程 2010-06-19 17:41:11 阅读84 评论0 字号:大中小 订阅
1.当使能端E由1变为0时,执行写指令,数据被写入。
例如,欲写入数据i到DDRAM:
void WDR(uchar i)
{
CheckBusy();//检忙
LCD_RS=1;
LCD_RW=0;
LCD_EN=0;
Delay();
LCD_DATA=i;//数据输出到定义端口
Delay();
LCD_EN=1;
Delay();
LCD_EN=0;//这一步才开始写入到LCD
Delay();
}
2.CGRAM
1602能存储8个自定义字符,这8个自定义字符存储空间的首地址分别是:0X40,0X48,0X50,0X58,0X60,0X68,0X70,0X78。
以0x40来说,它的存储空间如图所示:(riting of LCD1602 and the Use of CGRAM)
- 2020-06-23 13:20:02下载
- 积分:1
-
在28035的硬件平台下实现SMO
说明: 在28035的硬件平台下实现SMO,在CCS3.3平台下可直接编译通过。。(It can be directly compiled and passed under CCS 3.3 platform.)
- 2020-06-19 08:20:02下载
- 积分:1
-
e
基于c++编程的俄罗斯方块源程序代码 请多多支持 (Please support Tetris based c++ programming source code)
- 2013-05-13 20:44:12下载
- 积分:1
-
备忘录模式-基本代码
说明: Jogo em C codigo, batalha naval para 2 jogadores
- 2020-06-24 17:40:01下载
- 积分:1
-
DENISE
老外的,弹性波时间域全波形反演代码,The DENISE code was first developed by Daniel K?hn, Denise De Nil and Andr′ e Kurzmann at the Christian-
Albrechts-Universit?t Kiel and TU Bergakademie Freiberg (Germany) from 2005 to 2009.(Overseas, Elastic Wave Time Domain Full Waveform Inversion Code)
- 2019-06-05 10:50:49下载
- 积分:1
-
png_decoder
说明: 适用于LittlevGL的图形转换程序(Use PNG images in LittlevGL)
- 2020-10-24 14:50:01下载
- 积分:1
-
USC-Mech II
USC_Mech v2 in a chemkin format
- 2021-03-11 20:09:25下载
- 积分:1
-
4-Bit
AT80S52 4-bit lcd1602 interface
- 2020-06-21 00:40:02下载
- 积分:1
-
spruhm8g
关于TMS320F28379 芯片手册,包括ADC 、CLOCK、外设、SCI、SPI、CAN等(About TMS320F28379 chip manual, including ADC, CLOCK, peripherals, SCI, SPI, CAN and so on)
- 2017-11-14 09:19:35下载
- 积分:1
-
iii
孤独的运货员aaaaaaaaaaaaaaaaaaaaaa(Lonely delivery staff aaaaaaaaaaaaaaaaaaaaaa)
- 2013-11-11 22:30:36下载
- 积分:1