#include
#include
//#include "word_define.h"
#define uint unsigned int
#define uchar unsigned char
uchar code LEDData[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};
#include "tlc2543.h"
//#include "spi.h"
uchar code channel_select[]={0x0c,0x1c,0x2c,0x3c,0x4c,0x5c,0x6c,0x7c,0x8c,0x9c,0xac};
sbit e=P2^0;
sbit f=P2^1;
sbit g=P2^2;
void delay(uint x)
{
uchar i;
while(x-- >0)
for(i=0;i