当前位置:
首页 >
单片机技术文章 >
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