Positron Compiler Documentation

DelayCs

Source: Positron16 Compiler User Manual, PDF page 332

Syntax

DelayCs Length

Overview

Delay execution for an amount of instruction cycles.

Parameters

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

Example

DelayCs 100
                         ' Delay for 100 cycles

Note.

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.