HI Everyone i need your Help, i've tryed to read data from a 4014 CMOS 8 Bit Shift register.

The data ist parallel on the pins P0 - P1 of the 4014.

P2_2 = 1; // Serial out

P2_7 = 1; // P/S\
P2_6 = 0; // CLK

P2_6 = 1; // CLK

P2_7 = 0; // P/S\

for(i=0;i<8;i++)

{

P2_6 = 0; // CLK

w1 = w1 << 1; //shift left

if(P2_2==0)

{

w1 |=0;

}

else if(P2_2==1)

{

w1 |=1;

}

P2_6 = 1; // CLK

PLS HELP ME....

(Sorry for my English, i hopp u will understand me)