beachte mal... was unter option steht !



SHIFTOUT pin , pclock , var , option [, bits , delay ]





Remarks

Pin
The port pin which serves as a data output.

Pclock
The port pin which generates the clock.

Var
The variable that is shifted out.

Option
Option can be :



0 – MSB shifted out first when clock goes low

1 – MSB shifted out first when clock goes high

2 – LSB shifted out first when clock goes low

3 – LSB shifted out first when clock goes high

Bits
Optional number of bits to shift out.

Delay
Optional delay in uS. When you specify the delay, the number of bits must also be specified. When the default must be used you can also use NULL for the number of bits.