This function waits for a time specified by the argument time.

Syntax

void Delay(
  int time
);

Parameters

time
[in] Specify the delay time.
  • The time is specified in steps of 20 milliseconds.
  • The actual time is time x 20 milliseconds.
  • The range of values is 0 to 32,767.
  • Example:time = 250 will cause a delay of 20*250 = 5 seconds.

Return value

None

Remarks

Waits for a time specified by its argument.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/10/08