#include #define dataport P1#define uchar unsigned char#define uint unsigned intsbit latch1=P22; /段锁存sbit latch2=P23; /位锁存sbit key1=P32;sbit key2=P33;unsigned int duanma=0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x7,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79;unsigned int weima=0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f;unsigned char display8;void suocun(uchar firstbit,uchar num);void delay(uchar z) /延时程序 uchar i,j,k; for(i=0;i50;i+) for(j=
Copyright © 2018-2021 Wenke99.com All rights reserved
工信部备案号:浙ICP备20026746号-2
公安局备案号:浙公网安备33038302330469号
本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。