Specifications
Chapter 6 - Samples
An example of how to use the HC595 macro is given in the following program. Data from variable
TX is serially transferred to shift register. LEDs connected to the parallel output of the shift
register will indicate the state of the lines. In this example value 0xCB (1100 1011) is sent so that
the eighth, seventh, fourth, second and first LEDs are illuminated.
http://www.mikroelektronika.co.yu/english/product/books/PICbook/6_08Poglavlje.htm (6 of 7) [4/2/2003 16:19:01]