zkl1311514665
发表于 2018-5-8 11:46:31
我要看视频
zkl1311514665
发表于 2018-5-8 11:46:50
,我要看视频
王成18
发表于 2018-5-8 13:58:52
{:6_267:}
payenchung
发表于 2018-5-8 19:59:33
666666666666
aaa8787221
发表于 2018-5-8 20:38:03
是不是更新题库了,我来看看
bemchou
发表于 2018-5-8 21:11:36
thanks for sharing
h2ovalker
发表于 2018-5-9 08:53:01
感谢楼主的分享啊
pixiao2018
发表于 2018-5-9 10:49:13
感谢分享
my1q2w3e
发表于 2018-5-9 11:13:09
#include<reg51.h>
unsigned char led[] = {0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};
char count = 0;
char state = 0;
void delay( unsigned int k)
{
unsigned int i;
for(i = 0;i < k;i++);
}
void main()
{
P1 = led;//éÏμçoóêyÂë1üÏÔê¾0
IT0 = 1;//ía2¿ÖD¶Ï0éèÖÃÎaϽμÑØ′¥·¢
EX0 = 1;//′ò¿aía2¿ÖD¶Ï0¿a1Ø
EA = 1;//′ò¿a×ü¿a1Ø*/
while(1)
{
if(state == 1)
{
delay(50000);
count++;
if(count == 10)
{
count = 0;
}
P1 = led;
}
else if(state == 2)
{
}
else if(state == 3)
{
P1 = led;
state = 0;
count = 0;
}
}
}
void int_0() interrupt 0
{
state++;
}
残花遗梦3
发表于 2018-5-9 11:32:25
axa
残花遗梦3
发表于 2018-5-9 11:33:44
dfgdvdv
轩辕小天天天
发表于 2018-5-9 13:48:34
666666666
peji007
发表于 2018-5-9 14:13:13
adasdasasdasd sad asd sad
liujian1989
发表于 2018-5-9 15:19:48
66666666666666666666666666666
〡狂奔〡蚂蚁
发表于 2018-5-9 15:48:34
好好学习天天向上