Why does my project? (ShiftIn function)

hi
code is :

int CLOCK = 13;
int DATA = 12;

void setup()
{
  pinMode(CLOCK, INPUT);
  pinMode(DATA, INPUT);
  DDRD = 0XFF;
}

void loop()
{
  PORTD = shiftIn(DATA, CLOCK, LSBFIRST);
}

and shematic is :

and download project file(shematic in proteus+code) :>>> DOWNLOAD

hi
code is :

int CLOCK = 13;
int DATA = 12;

void setup()
{
  pinMode(CLOCK, INPUT);
  pinMode(DATA, INPUT);
  DDRD = 0XFF;
}

void loop()
{
  PORTD = shiftIn(DATA, CLOCK, LSBFIRST);
}

and shematic is :

and download project file(shematic in proteus+code) :>>> DOWNLOAD

Why make us download a zip file.
I don't want a virus.

Ask your question.

Is there a subject to your question?
Why does your project what?

my project not work -_-

LarryD:
I don't want a virus.

O_o

i want receive data form spi softwar(75hc165) and give leds.
what my project not work?

md3848:
my project not work -_-

OK you need to do a hell of a lot better than that, please read this:-
How to use this forum
It tells you how to ask a question.

Is it a real project or is it a simulator?
What do you mean by not work, no LEDs lit or only some, or not the right ones?

You only seem to have clock and data attached to the shift register not any latch. The latch needs to be toggled either side of the shift in function call.

Have you got supply decoupling on that shift register chip?
What is the wiring on those inputs on the shift register?

i want receive data form spi softwar

You are not using any SPI software.

Get the LEDs off of the hardware serial port pins (0 and 1), so you can use Serial.print() statements to see what your program is doing.

Bit of thread merging going on here. Hence the silly looking responses.

Also there is no power supply to that shift register.

thaks.
i wANT JUST 1 Project WITH SHIFTIN & SHIFTOUT Functions.....
my english is weak. -_-

i wANT JUST 1 Project WITH SHIFTIN

Shift in

& SHIFTOUT Functions.

ShiftOut

my english is weak

So how are you going to understand the answers?