Hi,

Wasn't sure where to ask this, figured I'd start here. NEWBIE ALERT! WOOT!

I'm trying to shift bits in and out of a PIC 16F628 using a 74HC166 as input and a 74HC164 as output with little success.

I don't understand the Function Table on p.4 of the datasheet for the 166. They mention Q0-6 registers, and yet there is only a Q7 mentionned in the Functional diagram at the top of that page, nor on the Logical diagram on the next page, nor on the Process diagram below that one. The only 0-7 pins are the D pins, not Q.

I'm trying to figure exactly how it is I am supposed to initiate SHIFT IN and SHIFT OUT commands and I'm going nowhere. I've scoured the web for schematics using these 2 shift registers as well as BASIC code to go along with them and have come up 'basically' empty-handed.

Any help would be greatly appreciated.

Thanks, and have a nice day!

Robert