电子电路设计Proteus仿真的实验报告 Keil仿真程序: #include unsigned char code tab[]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f}; unsigned char code digittab[10][8]= { {0x00,0x00,0x3e,0x41,0x41,0x41,0x3e,0x00},//0 {0x00,0x00,0x00,0x00,0x21,0x7f,0x01,0x00},//1 {0x00,0x00,0x23,0x45,0x45,0x45,0x39,0x00}, //2 {0x00,0x00,0x22,0x49,0x49,0x49,0x36,0x00},//3 {0x00,0x00,0x0c,0x14,0x24,0x7f,0x04,0x00},//4 {0x00,0x00,0x72,0x51,0x51,0x51,0x4e,0x00},//5 {0x00,0x00,0x3e,0x49,0x49,0x49,0x26,0x00},//6 {0x00,0x00,0x40,0x40,0x40,0x4f,0x70,0x00},//7 {0x00,0x00,0x36,0x49,0x49,0x49,0x36,0x00},//8 {0x00,0x00,0x32,0x49,0x49,0x49,0x3e,0x00} };//9 unsigned int timecount; unsigned char cnta; unsigned char cntb; void main(void) { TMOD=0x01; TH0=(65536-2000)/256; TL0=(65536-2000)%256; TR0=1; ET0=1; EA=1; while(1) {; } } void t0(void)interrupt 1 using 0 { TH0=(65536-2000)/256; TL0=(65536-2000)%256; P3=tab[cnta]; P1=digittab[cntb][cnta]; cnta ++; if(cnta==8) { cnta=0; } timecount++; if(timecount==250) { timecount=0; cntb ++; if(cntb==10) {cntb=0; }}}
2023-02-19 13:39:44 445KB Proteus 实验报告
1
Proteus数字时钟电路设计包含仿真程序和keil文件:四个数码管模拟数字时钟
2020-01-11 03:08:51 62KB proteus实验
1
proteus中用8086关于控制8个led灯的仿真。74LS02,74LS245,74LS373,4078,8086,74154,74273,相关芯片的说明也在里面。感兴趣的可以下载看看
2019-12-21 19:41:27 596KB 微机 proteus 8086
1