
void RunInit()
{
	A.D0_DIR = 1;
	B.D0_DIR = 1;
	C.D0_DIR = 1;
	D.D0_DIR = 1;
	E.D0_DIR = 1;
	F.D0_DIR = 1;
	G.D0_DIR = 1;
	H.D0_DIR = 1;
	
	A.D0_OUT = 0;
	B.D0_OUT = 0;
	C.D0_OUT = 0;
	D.D0_OUT = 0;
	E.D0_OUT = 0;
	F.D0_OUT = 0;
	G.D0_OUT = 0;
	H.D0_OUT = 0;
}
void SetData( uint8 d )
{
	A.D0_OUT = d.0(bit);
	B.D0_OUT = d.1(bit);
	C.D0_OUT = d.2(bit);
	D.D0_OUT = d.3(bit);
	E.D0_OUT = d.4(bit);
	F.D0_OUT = d.5(bit);
	G.D0_OUT = d.6(bit);
	H.D0_OUT = d.7(bit);
}




