#include "reg51.h" void main() { //字形码 unsigned char data mtable[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x27,0x7f,0x6f}; //位选 unsigned char data mwei[]={0x07, 0x0b, 0x0d, 0x0e}; //待显示的数字 unsigned char show[]={9,1,2,3}; unsigned char data i,j,k; while(1) { for(i=0;i<4;i++){ P2=mwei[i]; k=show[i]; P0=mtable[k]; j=100; while(j--); P2=0x0f; } } } 程序仿真的时候,数码管上显示的数字是