MikroElektronika PIC Microcontrollers PIC16 Spezifikationen Seite 122

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 186
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 121
Chapter 6 - Samples
How to connect an input shift register to a microcontroller
In order to simplify the main program, a macro can be used for the input shift register. Macro
HC597 has two arguments:
HC597 macro Var, Var1
Var variable where data from shift register input pins is transferred
Var1 loop counter
Example: HC597 data, counter
Data from the input pins of the shift register is stored in data variable. Timer/counter variable is
used as a loop counter.
Macro listing:
http://www.mikroelektronika.co.yu/english/product/books/PICbook/6_08Poglavlje.htm (2 of 7) [4/2/2003 16:19:01]
Seitenansicht 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 185 186

Kommentare zu diesen Handbüchern

Keine Kommentare