Hi,
Any one got any pointers on how to achieve the following (for use with a Teensy 3.x) pls.
With shift registers (S/R's) - use:
2 x S/R's for inputs (momentary switches) which in turn drive 2 x S/R's for outputs (LEDS).
It would be a direct 1 to 1 mapping ie
S/R 1 (Input) Q0 would map to/drive S/R 3 (output) Q0
....
S/R 1 (Input) Q7 would map to/drive S/R 3 (output) Q7
and
S/R 2 (Input) Q0 would map to/drive S/R 4 (output) Q0
....
S/R 2 (Input) Q7 would map to/drive S/R 4 (output) Q7
Also looking for clarification on type of which S/R type to use pls.
I have read the 74HC595 (SIPO) can only be used for Outputs.
The CD4021BE (PISO) can be used for Inputs.
But I've seen atleast one youtube clip where the 74HC595 is used for both (using interrupts & SPI).
Thanks