#include #defineucharunsignedchar #defineuintunsignedint ucharcodetable[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90}; sbita=P1^6; TH0=0;TL0=0;}