-
16045577-C-Programming-for-Embedded-Systems
C-Programming
for Embedded
Systems
- 2010-01-03 18:24:16下载
- 积分:1
-
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
-
Timoshenko beam in free vibrations
Timoshenko beam in free vibrations 铁木辛柯梁单元自由振动(Timoshenko beam in free vibrations free vibration of Timoshenko beam element)
- 2020-12-18 21:49:10下载
- 积分:1
-
请不要取消对非
无毒无害 取消IP限制
请勿用于商业用意,如有侵权请联系站删除-Please do not cancel IP restrictions on non-toxic harmless for commercial purpose, please contact the station to delete any infringement
- 2023-02-02 14:40:04下载
- 积分:1
-
模拟串口发数
51单片机中普通IO口模拟串口发数,C、C++,简单小程序易学易懂(51 SCM in general IO port emulated serial number, C, C + +, simple small program easy to understand)
- 2017-06-08 10:29:24下载
- 积分:1
-
衰落信道隐蔽通信
说明: 用来仿真混沌加密算法的简单测试,包括信号生成,混沌加密,混沌解密(Simple test for simulating chaotic encryption algorithm)
- 2021-02-16 12:48:24下载
- 积分:1
-
基于VC6.0的opengl室内场景图
利用opengl库在VC下的一个室内的场景图,运用到了贴图技术,有沙发,落地灯,桌子,还有一个万花筒,很适合初学者,而且代码易看懂哟。。。
- 2022-11-29 03:10:04下载
- 积分:1
-
hypervolume
说明: 动态多目标优化算法,基于遗传方法得多目标优化算法,计算HV得超体积算法(Dynamic multi-objective optimization algorithm)
- 2020-10-12 22:57:32下载
- 积分:1
-
1加密法最终版
求解弹流润滑方程的程序,可以得到压力、膜厚分布(Solve the equation of the elastohydrodynamic equation and obtain the pressure and film thickness distribution)
- 2021-03-11 16:49:26下载
- 积分:1
-
Simulación_motor (2)
说明: PID controller implement for a motor
- 2019-12-02 10:52:13下载
- 积分:1