delay Function

Generates a delay (software timing loop) for a duration of specified milliseconds.

Syntax

void delay(unsigned int ms)

Parameters

unsigned int - delay in milliseconds

Return Value

N/A

Remarks

Maximum delay is 65535 milliseconds. Delay is based on standard 11.0592MHz clock. Delay will be half the given duration on 22.1184MHz boards such as BiPOM boards.

Requirements

bipomlib.h

Example

N/A