MikroElektronika PIC Microcontrollers PIC16 Specifikace Strana 100

  • 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 99
Chapter 6 - Samples
Previous page Table of contents Chapter overview Next page
Macros used in programs
Examples given in the following sections of this chapter often use macros WAIT, WAITX and
PRINT, so they will be explained in more detail.
Macros WAIT, WAITX
File Wait.inc contains two macros WAIT and WAITX. Through these macros it is possible to assign
time delays in different intervals. Both macros use the overflow of counter TMR0 as a basic
interval. By changing the prescaler we can change the length of the overflow interval of the
counter TMR0.
http://www.mikroelektronika.co.yu/english/product/books/PICbook/6_02Poglavlje.htm (1 of 4) [4/2/2003 16:18:43]
Zobrazit stránku 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 185 186

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

Žádné komentáře