1.aledԴ?源码?
aledԴ??
// 单片机数码管动态显示学号(注多位数码管用静态显示电路会很复杂,所以一般多用动态显示),源码c sort源码方法有多种,源码php酒店预订源码下面是源码影视公司网站源码一个仿真例程可以参考。#include<reg.h>
#define uchar unsigned char
// 此表为 LED 的源码dedecms企业模板 源码字模 0 1 2 3 4 5 6 7 8 9 a b c d e f
unsigned char code LED7Code[] = { 0x3F,0x,0x5B,0x4F,0x,0x6D,0x7D,0x,0x7F,0x6F,0x,0x7C,0x,0x5E,0x,0x};
void delay(uchar z)
{
uchar i,j;
for(i=0;i<;i++)
for(j=0;j<z;j++);
}
void main()
{
while(1)
{
P0=0xff;
P2=LED7Code[0];
P0=0xfe;
delay(5);
P0=0xff;
P2=LED7Code[1];
P0=0xfd;
delay(5);
P0=0xff;
P2=LED7Code[8];
P0=0xfb;
delay(5);
P0=0xff;
P2=LED7Code[3];
P0=0xf7;
delay(5);
P0=0xff;
P2=LED7Code[0];
P0=0xef;
delay(5);
P0=0xff;
P2=LED7Code[5];
P0=0xdf;
delay(5);
P0=0xff;
P2=LED7Code[0];
P0=0xbf;
delay(5);
P0=0xff;
P2=LED7Code[8];
P0=0x7f;
delay(5);
}
}
2024-12-24 11:02
2024-12-24 10:59
2024-12-24 10:52
2024-12-24 10:19
2024-12-24 09:52
2024-12-24 09:28
2024-12-24 09:25
2024-12-24 08:50