Specifications

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]