摘要:
#include<reg52.h>#defineuintunsignedint#defineucharunsignedcharsbita0=P0^0;sbita1=P0^1;sbitb0=P0^2;sbitb1=P0^3;sbiten0=P1^0;//使能1sbiten1=P1^1;//使能2constuinteighttb[8][4]={{0,1,1,0},{0,1,0,0},{0,1,0,1},{0,0,0,1},{1,0,0,1},{1,0,0,0},{1,0,1,0},{0,0,1,0}};constuintfourtb[4][4]={{0,1,1,0},{0,1,0,1} 阅读全文