Posts

Showing posts with the label 74HC595

Making led control easy.

Image
Controlling leds can be a real challenge, unless you know how to use a bit shifter aka the 74hs595. Oversimplified here, but one you get the gist of it only the sky is the limit. From wikipedia:( https://en.wikipedia.org/wiki/Shift_register ) In digital circuits , a shift register is a cascade of flip flops , sharing the same clock , in which the output of each flip-flop is connected to the "data" input of the next flip-flop in the chain, resulting in a circuit that shifts by one position the " bit array " stored in it, shifting in the data present at its input and shifting out the last bit in the array, at each transition of the clock input. More generally, a shift register may be multidimensional, such that its "data in" and stage outputs are themselves bit arrays: this is implemented simply by running several shift registers of the same bit-length in parallel. Shift registers can have both parallel and serial inputs and outpu...