Shift Register (2014)
Shift register is a cascade of memory cells (e.g. D flip flop) with shared clocks. These cells are set with the desired value step by step. You can thus load any value to the memory using only two wires.
This library is created for shift register with storage register. Storage register is set with the final value using dedicated third signal after the entire value was loaded. The benefit lies in stable output of the chip.
The library is based on the 74HTC595 chip. The entire timing, data size, etc. can be set using dedicated constructors.
An example of shift register usage is available on the following page 8 LEDs using shift register (2014).
Source codesClick the label to show the source code
Back to Robotics STM32.