超大屏幕点阵显示

超大屏幕点阵显示

应用介绍

超大屏幕点阵显示

#include<reg51.h> 
typedef  unsigned char uchar; 
typedef  unsigned int uint; 
sbit E1=P3^4;
sbit ST=P3^5;
sbit SS=P3^6;
unsigned char code mo[6][2][16]=
{{{0x00,0x00,0x01,0x02,0x12,0x13,0x1E,0xF2,0x23,0x24,0x24,0x04,0x07,0x00,0x00,0x00},
{0x00,0x00,0xF8,0x00,0x50,0x50,0xD0,0x78,0xA0,0xA0,0x08,0x04,0xFC,0x00,0x00,0x00}},
{{0x00,0x00,0x00,0x00,0x78,0x54,0x54,0x55,0x95,0x85,0x99,0xE1,0x01,0x00,0x00,0x00},
{0x00,0x00,0x00,0xF0,0xA8,0xA8,0xA8,0x28,0x48,0x48,0x04,0x0E,0xF0,0x00,0x00,0x00}},
{{0x00,0x00,0x0F,0x15,0xF1,0x1F,0x00,0x00,0x09,0x89,0x4A,0x13,0x10,0x10,0x00,0x00},
{0x84,0x88,0xF0,0x40,0x08,0xFC,0x00,0x08,0xF0,0x00,0x00,0xF0,0x08,0x08,0x38,0x00}},
{{0x00,0x04,0x18,0x10,0x11,0x16,0x90,0x50,0x10,0x24,0x22,0x20,0x28,0x10,0x00,0x00},
{0x00,0x04,0x04,0x84,0x04,0x44,0x44,0x78,0x88,0x88,0x88,0x08,0x0C,0x04,0x00,0x00}},
{{0x00,0x00,0x02,0x02,0x02,0x02,0xFF,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00},
{0x00,0x04,0x08,0x10,0x20,0xC0,0x00,0x80,0x40,0x20,0x10,0x08,0x0C,0x04,0x04,0x00}},
{{0x00,0x03,0x0E,0x44,0x24,0x05,0x4A,0x2A,0x0B,0x1A,0xE8,0x08,0x0C,0x08,0x00,0x00},
{0x00,0x20,0x20,0x20,0x20,0x20,0x24,0xC2,0x7C,0x40,0x40,0x40,0x40,0x00,0x00,0x00}}};
void yiwei(int i,int j,int k)
{
SBUF=mo[i][j][k];
while(~TI){};
TI=0;
}

void main() /*主函数*/
{	int i=0,j=0,k=0,n,u;
	SM0=0;
	SM1=0;
	ST=0;
	TI=0;
	yiwei(i,j,k);
	n=0;
	while(1)
		{for(i=0;i<6;i++)
 		{yiwei(i,0,k);
		 yiwei(i,1,k);
		}
		i=0;
		k++;
		if(k>15)
		k=0;
        P2=n;
		E1=0;
		ST=1;
		for(u=0;u<150;u++){}
		
		n++;
		if(n>15)
		n=0;
		E1=1;
		ST=0;
        }
}

文件列表(部分)

名称 大小 修改日期
huan1.73 KB2019-06-24
huan.c0.59 KB2019-06-24
huan.hex0.56 KB2019-06-24
huan.lnp0.05 KB2019-06-24
huan.LST1.05 KB2019-06-24
huan.M511.17 KB2019-06-24
huan.OBJ1.61 KB2019-06-24
huan.Opt0.51 KB2019-06-24
huan.plg0.17 KB2019-06-24
huan.Uv20.87 KB2019-06-24
huan_Opt.Bak0.50 KB2019-06-24
huan_Uv2.Bak0.00 KB2019-06-24
Last Loaded 点阵.DBK24.04 KB2019-06-24
STARTUP.A511.73 KB2019-06-24
STARTUP.LST1.71 KB2019-06-24
STARTUP.OBJ0.43 KB2019-06-24
点阵.DSN24.04 KB2019-06-24
点阵.PWI0.36 KB2019-06-24
0032、超大屏幕点阵显示0.00 KB2019-06-24

立即下载

相关下载

[超大屏幕点阵显示] 超大屏幕点阵显示

评论列表 共有 0 条评论

暂无评论

微信捐赠

微信扫一扫体验

立即
上传
发表
评论
返回
顶部