会员注册 | 登录 | 微信快捷登录 支付宝快捷登录 QQ登录 微博登录 | 帮助中心 人人文库renrendoc.com美如初恋!
站内搜索 百度文库

热门搜索: 直缝焊接机 矿井提升机 循环球式转向器图纸 机器人手爪发展史 管道机器人dwg 动平衡试验台设计

基于单片机的LED单色显示屏控制系统设计 源程序.doc基于单片机的LED单色显示屏控制系统设计 源程序.doc -- 9 元

宽屏显示 收藏 分享

资源预览需要最新版本的Flash Player支持。
您尚未安装或版本过低,建议您

附录2整个设计全部源程序/以下是32x64点阵LED电子显示屏的源程序,采用C语言编写,在KeilμVisionV2.38a(C51.ExeV7.06)以及MedWin3.0版环境下均测试通过。/includeunsignedintzimo,xx0//zimo是字模计数器,xx为分屏显示的时候的字数。unsignedcharyid,h//yid为移动计数器,h为行段计数器unsignedcharcodehanzi//汉字字模unsignedcharBUFF18,BUFF218//左移显示的缓存voidqingvoidvoidxianshivoidvoidfenvoidvoidzuovoidvoidin_datavoid//调整数据voidrxd_datavoid//左移发送数据voidout_rxdunsignedchard//分屏、上移发送数据charcodesw{0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x00}/8行段码//主程序/voidmainvoid{unsignedchareeSCON0P10yid0zimo0while1{fen//分屏显示foree30ee0ee//清屏幕3秒{qing}zuo//左移显示foree30ee0ee{qing}}}/清屏幕/voidqingvoid{unsignedcharzz,xx0x0ffforzz33zz0zz{out_rxdxx}P10xffP10//锁存为高,74HC595锁存信号P20//清74LS138的使能端}/分屏显示/voidfenvoid{do{xianshi}whilexx0kk//每屏显示500次{forii1ii0s{wssqqqzimohhs32BUFFw1hanziqqqBUFFwhanziqqq1BUFF2w1hanziqqq16BUFF2whanziqqq17}}/左移显示的数据调整发送/voidrxd_datavoid//串行发送数据{unsignedcharinc,s,tempyid,tempifyidtempyid|BUFFs1tempyid|BUFF2s18tempyidSBUFtemp//把BUFF中的字节从大到小移位相或后发送输出。whileTITI0//等待发送中断}}/汉字编码信息/unsignedcharcodehanzi{/文字勤/0xFB,0xBB,0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,0xDF,0xDF,0xDF,0xC0,0x3F,0xFF,0xFF,/文字师/0xFF,0xEF,0x80,0x2F,0xFB,0xED,0xFB,0xED,0x80,0x2D,0xBB,0xAD,0xBB,0xAD,0xBB,0xAD,0xBB,0xAD,0xBB,0xB5,0xAB,0xB5,0xDB,0xB7,0xFB,0xFB,0xFB,0xFD,0xFB,0xFE,0xFB,0xFF,/文字/0xFE,0x3F,0xFC,0x1F,0xFC,0x1F,0xFC,0x1F,0xFC,0x1F,0xFC,0x1F,0xFC,0x1F,0xFE,0x3F,0xFE,0x3F,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFE,0x3F,0xFE,0x3F,0xFF,0x7F,0xFF,0xFF}
编号:201312012320248547    大小:58.50KB    格式:DOC    上传时间:2013-12-01
  【编辑】
9
关 键 词:
专业文献 学术论文 精品文档 基于单片
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 人人文库网仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
  人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
0条评论

还可以输入200字符

暂无评论,赶快抢占沙发吧。

当前资源信息

4.0
 
(2人评价)
浏览:10次
21ask上传于2013-12-01

官方联系方式

客服手机:13961746681   
2:不支持迅雷下载,请使用浏览器下载   
3:不支持QQ浏览器下载,请用其他浏览器   
4:下载后的文档和图纸-无水印   
5:文档经过压缩,下载后原文更清晰   

相关资源

相关资源

相关搜索

专业文献   学术论文   精品文档   基于单片  
关于我们 - 网站声明 - 网站地图 - 友情链接 - 网站客服客服 - 联系我们
copyright@ 2015-2017 人人文库网网站版权所有
苏ICP备12009002号-5