⺣ - רҵ·ĵϷƽ̨

ǰλãҳ > 【原创】飞机燃油油量测量系统的设计毕业论文 - 百度文库

【原创】飞机燃油油量测量系统的设计毕业论文 - 百度文库

  • 62 Ķ
  • 3
  • 2025/12/3 2:20:58

#include

unsigned char code dispcode[]={0x3f,0x06,0x5b,0x4f, 0x66,0x6d,0x7d,0x07, 0x7f,0x6f,0x77,0x7c, 0x39,0x5e,0x79,0x71,0x00}; unsigned char second; unsigned char keycnt; unsigned int tcnt;

void main(void) {

unsigned char i,j;

TMOD=0x02; ET0=1; EA=1; second=0;

P2=dispcode[(second10)]; P0=dispcode[second]; P0=dispcode[second]; while(1) {

if(P3_5==0) {

for(i=10;i>0;i--) for(j=248;j>0;j--); if(P3_5==0) { keycnt++; switch(keycnt) { case 1: TH0=0x06; TL0=0x06;

17 TR0=1; break; case 2: TR0=0; break; case 3: keycnt=0; second=0;

P2=dispcode[(second10)]; P0=dispcode[second]; P0=dispcode[second]; break; }

while(P3_5==0); } } } }

void t0(void) interrupt 1 using 0 { tcnt++; if(tcnt==4) { tcnt=0; second++;

P2=dispcode[(second10)]; P0=dispcode[second]; P0=dispcode[second]; } }

18

19

  • ղ
  • Υٱ
  • Ȩ
ĵ10.00 Ԫ VIP
ߣ...

92ƪĵ

ĵ飺

#include unsigned char code dispcode[]={0x3f,0x06,0x5b,0x4f, 0x66,0x6d,0x7d,0x07, 0x7f,0x6f,0x77,0x7c, 0x39,0x5e,0x79,0x71,0x00}; unsigned char second; unsigned char keycnt; unsigned int tcnt; void main(void) { unsigned char i,j; TMOD=0x02; ET0=1; EA=1; second=0; P2=dispcode[(second10)]; P0=dispcode[second]; P0=dispcode[second]; while

οͿͨغɸƺŰ棩
ƪ
ʱؼۣ10 Ԫ/ ԭ:20Ԫ
VIP
ؼۣ29 Ԫ/ ԭ:99Ԫ
0.3 Ԫ/ ÿ150
ȫվɸ
VIP
ؼۣ29 Ԫ/ ԭ:99Ԫ
0.3 Ԫ/ ÿ150
ȫվɸ
עĵпܡֻĿ¼ݲȫ֮ǰעѸ޷ػ⣬ϵЭ㴦
΢ţfanwen365 QQ370150219
Copyright © ⺣ All Rights Reserved. ICP16052595-3 վͼ ͷQQ370150219 䣺370150219@qq.com