MikroElektronika PIC Microcontrollers PIC16 Specifikace Strana 126

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 186
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 125
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]
Zobrazit stránku 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 185 186

Komentáře k této Příručce

Žádné komentáře