本帖最后由 chenmoni 于 2017-4-23 08:16 编辑
按照网上的图和程序做的旋转LED,灯一直亮着不变,求帮助看程序是不是哪里不对。谢谢!
旋转LED.txt
(23.67 KB, 下载次数: 128)
2017-4-23 08:06 上传
点击文件名下载附件
#include<reg52.h>
#define uint unsigned int
#define uchar unsigned char
sbit D1=P3^2;
sbit D2=P3^4;
sbit D3=P1^0;
sbit D4=P0^7;
void delay();
void xing();
void zhunbei();
uchar code hanzi1[];
uchar code hanzi2[];
uchar code hanzi3[];
uchar code hanzi4[];
uchar code hanzi5[];
uchar code hanzi6[];
uchar code hanzi7[];
uchar code hanzi8[];
uchar code hanzi9[];
uchar code hanzi10[];
uchar code hanzi11[];
uchar code hanzi12[];
uchar code hanzi13[];
uchar code hanzi14[];
uchar code hanzi15[2][64];
uchar code hanzi16[2][64];
uchar code hanzi17[];
uchar code hanzi18[];
uchar code hanzi19[];
uchar code hanzi20[];
uchar code hanzi21[];
uchar code hanzi22[];
uchar cc,bb,mm,dd,tt,kk,kk1,kk2;kk4;
uint kk3,jj,aa;
void main()
{
zhunbei();
while(1)
{
if(D1==0)
{
if(kk==11)
{
if(cc>112)
{
if(kk4<7)
{
kk4++;
kk2++;
}
if(kk4==7)
{
kk4=6;
kk2=14;
}
}
}
for(aa=kk4;aa<kk2;aa++)
{
P0=hanzi19[aa];
P1=hanzi20[aa];
D3=D4=0;
delay();
}
/////////////////////////////////////////////////////////////
xing();
/////////////////////////////////////////////////////////
if(kk==1)
{
mm=cc=0;
bb=bb+1;
if(bb==95)
{
bb=94;
dd++;
if(dd==97)
dd=96;
}
for(aa=dd;aa<=bb;aa++) //////////////无论何时何地
{
P0=hanzi3[aa];
P1=hanzi4[aa];
delay();
P0=0xff;
P1=0xff;
}
}
/////////////////////////////////////////////////////
if(kk==2)
{
dd=bb=0;
cc++;
if(cc==95)
{
cc=94;
mm++;
if(mm==97)
mm=96;
}
for(aa=mm;aa<=cc;aa++) //////////////无论身在何方
{
P0=hanzi5[aa];
P1=hanzi6[aa];
delay();
P0=0xff;
P1=0xff;
}
}
/////////////////////////////////////////////////
if(kk==3)
{
mm=cc=0;
bb++;
if(bb==127)
{
bb=126;
dd++;
if(dd==129)
dd=128;
}
for(aa=dd;aa<=bb;aa++) /////我愿把无数的思念
{
P0=hanzi7[aa];
P1=hanzi8[aa];
delay();
P0=0xff;
P1=0xff;
}
}
//////////////////////////////////////////////
if(kk==4)
{
dd=bb=0;
cc++;
if(cc==111)
{
cc=110;
mm++;
if(mm==113)
mm=112;
}
for(aa=mm;aa<=cc;aa++)
{
P0=hanzi9[aa]; ///////////////////////化作无限的祝福
P1=hanzi10[aa];
delay();
P0=0xff;
P1=0xff;
}
}
///////////////////////////////////////
if(kk==5)
{
mm=cc=0;
bb++;
if(bb==111)
{
bb=110;
dd++;
if(dd==113)
dd=112;
}
for(aa=dd;aa<=bb;aa++) ////////祝你健康快乐!
{
P0=hanzi11[aa];
P1=hanzi12[aa];
delay();
P0=0xff;
P1=0xff;
}
}
/////////////////////////////////////////////
if(kk==6)
{
dd=bb=0;
cc++;
if(cc==40)
{
cc=39;
}
for(aa=0;aa<=cc;aa++)
{
P0=hanzi13[aa]; ///////////////////////(*^__^*) 嘻嘻……
P1=hanzi14[aa];
delay();
P0=0xff;
P1=0xff;
}
}
////////////////////////////////////////////
if(kk==7)
{
cc=0;
bb++;
if(bb==59)
{
bb=58;
dd++;
if(dd==7)
{
dd=0;
mm++;
if(mm==2)
mm=0;
}
}
for(aa=0;aa<=bb;aa++) ////////↖(^ω^)↗
{
P0=hanzi15[mm][aa];
P1=hanzi16[mm][aa];
delay();
P0=0xff;
P1=0xff;
}
}
/////////////////////////////////////
if((kk==8)||(kk==9)||(kk==10))
{
dd=bb=0;
kk3++;
if(kk3==383)
{
kk3=382;
}
if(kk3>176)
jj++;
for(aa=jj;aa<=kk3;aa++)
{
P0=hanzi21[aa]; ///////////////////////每当...........
P1=hanzi22[aa];
delay();
P0=0xff;
P1=0xff;
}
}
//////////////////////
xing();
//////////////////////////////////
if(kk==11)
{
kk3=kk1=0;
mm=0;
cc++;
if(cc==120)
{
cc=119;
}
for(aa=cc;aa<=128;aa++)
{
P0=hanzi17[aa]; ///////////////////////箭头
P1=hanzi18[aa];
delay();
P0=0xff;
P1=0xff;
}
}
//////////////////////////////////////
D3=D4=0;
//////////////////////////////////////////////////
}
}
}
void zhunbei()
{
TMOD=0x11;//设置定时器0为工作方式1
TH0=0;
TL0=0;
EA=1;//开总中断
ET0=1;//开定时器0中断
TR0=1;//启动定时器0
kk2=8;
kk1=0;
dd=0;
bb=0;
kk=1;
}
void xing()
{
for(aa=16;aa>0;aa--)
{
P0=hanzi1[aa];
P1=hanzi2[aa]; ////心型
delay();
P0=0xff;
P1=0xff;
}
}
void delay()//延时
{
uint x;
for(x=15;x>1;x--);
}
void time0() interrupt 1
{
TH0=0;
TL0=0;
tt++;
if(tt==255)
{
tt=0;
kk++;
if(kk==12)
{
kk=1;
kk2=8;
cc=0;
mm=0;
kk1=0;
dd=0;
bb=0;
kk4=0;
cc=0;
jj=0;
}
}
}
uchar code hanzi1[]={0xFF,0xF1,0xE0,0xE0,0xE0,0xF0,0xF0,0xF8,0xFC,0xF8,0xF0,0xF0,0xE0,0xE0,0xE0,0xF1};
uchar code hanzi2[]={0xFF,0xFF,0x7F,0x3F,0x1F,0x0F,0x07,0x03,0x01,0x03,0x07,0x0F,0x1F,0x3F,0x7F,0xFF};
//////////////////////////////////////////////
uchar code hanzi3[]={0xFF,0xFD,0xBD,0xBD,0xBD,0xBC,0x81,0xBD,0xBC,0xBD,0xBD,0xBD,0xFD,0xFD,0xFF,0xFF,
0xFD,0xFD,0xBD,0xCC,0xFF,0xFD,0xFB,0xF6,0xCF,0x3F,0xCF,0xF6,0xFB,0xFD,0xFD,0xFF,
0xFF,0xFE,0xF9,0xE0,0x1F,0xDF,0xD8,0xDB,0xDB,0xD8,0xDF,0xDF,0xC0,0xDF,0xDF,0xFF,
0xFF,0xC0,0xDE,0xDE,0xDE,0xC0,0xF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0x7E,0x7E,0xFF,
0xFF,0xFB,0xF7,0xEF,0x9F,0xFD,0xFE,0x01,0xFF,0xFF,0xBF,0xDF,0xEF,0xF3,0xFF,0xFF,
0xFF,0xFF,0xFF,0x4F,0x4F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};
//////////////////////////////////////////
uchar code hanzi13[]={0xFF,0xFF,0xFC,0xF0,0xE3,0xEF,0xFF,0xFF,0xFF,0xEF,0xCF,0x9F,0x9F,0xCF,0xEF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xEF,0xCF,0x9F,0x9F,0xCF,0xEF,0xFF,
0xFF,0xFF,0xEF,0xE3,0xF0,0xFC,0xFF,0xFF};
uchar code hanzi14[]={0xFF,0xFF,0x1F,0x07,0xE3,0xFB,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFD,0xFD,0xFD,0xFD,0xFD,0xFD,0xFD,0xFD,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFB,0xE3,0x07,0x1F,0xFF,0xFF};
/////////////////////////////////////////////////////////
uchar code hanzi15[2][64]={{0xFF,0xFF,0xDF,0xE7,0xE0,0xF3,0xF5,0xF6,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,0xE7,
0xDF,0xBF,0xFF,0xFF,0xDF,0xBF,0xBF,0xBF,0xDF,0xF8,0xF7,0xEF,0xFF,0xFC,0xFF,0xEF,
0xF7,0xF8,0xDF,0xBF,0xBF,0xBF,0xDF,0xFF,0xFF,0xBF,0xDF,0xE7,0xF0,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xF6,0xF5,0xF3,0xE0,0xE7,0xDF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},
{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,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F,0xBF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x7F,0x7F,0x7F,0x7F,0xFF};
/////////////////////////////////////////////////
uchar code hanzi19[]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFE,0xFC,0xFC,0xFA,0xFE,0xFE,0xFE,0xFE};
uchar code hanzi20[]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x7F,0x7F,0xBF,0xFF,0xFF,0xFF,0xFF};
/////////////////////////////////////////////////
uchar code hanzi21[]={0xFB,0xF7,0xCF,0x30,0xB7,0xB7,0xB5,0xB6,0xB7,0xB7,0xB7,0xB0,0xBF,0xBF,0xFF,0xFF,
0xFF,0xFD,0xBD,0xDD,0xE5,0xFD,0xFD,0x01,0xFD,0xFD,0xF5,0xED,0x9C,0xFF,0xFF,0xFF,
0xF7,0xF9,0xBF,0xCE,0xFF,0xDD,0xD9,0xD5,0x4D,0x9D,0xDD,0xD5,0xD9,0xDC,0xDF,0xFF,
0xFF,0xFF,0xFF,0x82,0xAB,0xAB,0xAB,0xA8,0xAB,0xAB,0xAB,0x83,0xFF,0xFF,0xFF,0xFF,
0xFB,0xFB,0xFB,0x00,0xFB,0xBB,0xD7,0xF6,0xF7,0xFF,0xE0,0xFF,0xFF,0x00,0xFF,0xFF,
0xFD,0xFD,0xBD,0xCC,0xFF,0xEF,0xED,0xEE,0xEF,0xEF,0xEF,0x00,0xEF,0xEF,0xEF,0xFF,
0xFD,0xFD,0xFC,0x05,0x55,0x55,0x54,0x55,0x55,0x55,0x55,0x05,0xFD,0xFD,0xFD,0xFF,
0xFD,0xFD,0xBD,0xCC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