MikroElektronika PIC Microcontrollers PIC16 Dokumentacja Strona 100

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 186
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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]
Przeglądanie stron 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 185 186

Komentarze do niniejszej Instrukcji

Brak uwag