title: Shift register m74hc165 connection
body: <p>I am following the following tutorial (<a href="http://www.arduino.cc/en/Tutorial/ShiftIn" rel="nofollow">http://www.arduino.cc/en/Tutorial/ShiftIn</a>) to connect a shift-in register to my Arduino. In the tutorial they use a CD4021 'CD4021' shift register and I got a 'm74hc165'. After looking at the datasheet (<a href="http://www.datasheetlib.com/datasheet/735260/m74hc165b1_sgs-thomson-microelectronics.html#datasheet" rel="nofollow">http://www.datasheetlib.com/datasheet/735260/m74hc165b1_sgs-thomson-microelectronics.html#datasheet</a>) I cannot figure out how to connect the following wires:</p>
  
  <pre><code>Q8 (pin 3) to Ardunio DigitalPin 9 (blue wire)
  CLOCK (pin 10) to to Ardunio DigitalPin 7 (yellow wire)
  P/S C (pin 9) to Ardunio DigitalPin 8 (green wire) 
  </code></pre>
  
  <p>Mentioned in the tutorial in section 2. Can somebody help me with how to connect these three wires to the shift-register?</p>