74HC165 To 74HC595 Shift Register Demo 1 [SPIN] [Propeller]
March 1st, 2014, 04:43 PM
by Chris Savage
Before using this code you should read and understand this topic and this topic. This example combines those into a single example where the 74HC165 inputs are read and then sent out to a 74HC595. The same I/O line constants are used as in both previous examples for clarity, however the next example will show how to reduce the number of I/O lines required by the microcontroller from 6 down to 4 by sharing the CLK and Data lines.