??? 12/28/09 15:15 Modified: 12/28/09 15:15 Read: times Msg Score: +1 +1 Informative |
#171984 - Not Weird At All Responding to: ???'s previous message |
Fethi:
If you study the 'HC165 shift register data sheet some more you will note that the latched QH value is available at the output of the shift register shortly after the load pulse is completed. Thus you should read this bit into the MCU before doing a clock pulse. Technically you only need 7 clocks to read all the contents of a single 'HC165 after the load pulse has been finished. In your case the 8th clock that you do beings the initial QH of the second cascaded shift register up to the QH output as seen on the first 'HC165 at the MCU. Hope that helps.... Michael Karas |