51/AVR单片机技术驿站!  <在线翻译>     便利工具    特色网址   无弹窗、无插件的绿色站点...  英才招聘   学历查询  喜欢>>收藏我站 

当前位置:首页 > 单片机技术文章 > 51单片机 > 详细内容
简单实用的十字旋转LED点阵套件
发布时间:2009/7/31  阅读次数:2792  字体大小: 【】 【】【

hbit:   ;这是一个位交换子程序,用来实现字倒着显示或者正着显示,倒着显示时适合电动机在上面挂起来安装的情况。
mov c,acc.0
mov b.7,c
mov c,acc.1
mov b.6,c
mov c,acc.2
mov b.5,c
mov c,acc.3
mov b.4,c
mov c,acc.4
mov b.3,c
mov c,acc.5
mov b.2,c
mov c,acc.6
mov b.1,c
mov c,acc.7
mov b.0,c
mov a,b
ret
  
org 200h
con:db 4,1000000b,2,108;字的紧密,亮度,转的速度,内容长度
;org 300h,下面是显示的数据内容,是用本站软件自动生成的供码,请自行修改,其中的0000000000数据是加进去的空白代码,用来显示开头和结尾的空白;;………………数据内容省略
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
tab:
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
db 00h,04h,40h,04h,41h,04h,41h,04h
db 41h,04h,41h,0fch,7fh,04h,41h,04h
db 41h,04h,41h,04h,43h,0fch,41h,04h
db 40h,04h,00h,0ch,00h,04h,00h,00h
db 00h,00h,01h,00h,01h,00h,01h,00h
db 01h,00h,01h,00h,01h,00h,01h,00h
db 01h,00h,01h,00h,01h,00h,01h,00h
db 01h,00h,03h,00h,01h,00h,00h,00h
db 00h,00h,00h,00h,1fh,0f0h,12h,20h
db 12h,20h,12h,20h,12h,20h,0ffh,0fch
db 12h,22h,12h,22h,12h,22h,12h,22h
db 1fh,0f2h,00h,02h,00h,0eh,00h,00h
db 00h,80h,00h,80h,40h,80h,40h,80h
db 40h,80h,40h,82h,40h,81h,47h,0feh
db 48h,80h,50h,80h,60h,80h,40h,80h
db 00h,80h,01h,80h,00h,80h,00h,00h
db 10h,04h,1fh,0fch,00h,84h,01h,00h
db 01h,00h,01h,04h,00h,0fch,00h,04h
db 00h,00h,01h,00h,01h,00h,07h,0f8h
db 01h,04h,01h,04h,00h,00h,00h,00h
db 00h,00h,01h,00h,01h,00h,07h,0f8h
db 01h,04h,01h,04h,00h,00h,00h,00h
db 01h,01h,01h,0ffh,00h,85h,01h,04h
db 01h,04h,00h,88h,00h,70h,00h,00h
db 00h,00h,00h,00h,00h,00h,03h,0ch
db 03h,0ch,00h,00h,00h,00h,00h,00h
db 00h,00h,00h,06h,00h,18h,00h,60h
db 01h,80h,06h,00h,18h,00h,20h,00h
db 00h,00h,00h,06h,00h,18h,00h,60h
db 01h,80h,06h,00h,18h,00h,20h,00h
tab1:db 01h,0f0h,01h,0ch,00h,30h,01h,0c0h
db 00h,30h,01h,0ch,01h,0f0h,01h,00h
db 01h,0f0h,01h,0ch,00h,30h,01h,0c0h
db 00h,30h,01h,0ch,01h,0f0h,01h,00h
db 01h,0f0h,01h,0ch,00h,30h,01h,0c0h
db 00h,30h,01h,0ch,01h,0f0h,01h,00h
db 00h,00h,00h,0ch,00h,0ch,00h,00h
db 00h,00h,00h,00h,00h,00h,00h,00h
db 00h,00h,1fh,98h,10h,84h,11h,04h
db 11h,04h,10h,88h,10h,70h,00h,00h
;………………数据内容省略,
tab2:end
上一篇:单片机交通灯设计 下一篇:基于CygnalF040的RTOS51的研究与开发
我要评论
  • 匿名发表
  • [添加到收藏夹]
  • 发表评论:(匿名发表无需登录,已登录用户可直接发表。) 登录状态:未登录
最新评论
所有评论[0]

网站导航 管理登陆 ┊ 免责声明 问题反馈  友链说明
本站部分内容来自网络共享资源,如有冒犯您的权利请来信告之删除或纠正!
不得对本站进行复制、盗链或镜像,转载内容须获得同意或授权;欢迎友情链接、站务合作!

    我要报警 Alexa
 mcusy_cn#126.com (请把#改成@) 交流:522422171
本站学习交流群:138..158(高级群1-)、77930286(高级群2)、61804809(群3)
Copyright© MCUSY All Rights Reserved
本站网警备案号: WZ36040002485
  ICP备案证书号:粤ICP备09034963号