Positron Compiler Documentation

DelayCs

Positron16 · Revision 1.1.3.5 · PDF page 332

DelayCs Length

Delay execution for an amount of instruction cycles.

Length can only be a constant with a value from 1 to 16383.

DelayCs 100             ' Delay for 100 cycles

DelayCs is oscillator independent.

The length of a given instruction cycle is determined by the oscillator frequency divided by 2. The higher the oscillator, the smaller the cycle.

See also : DelayUs, DelayMs.

View original PDF page 332Open page in PDFOriginal PDF page 332