WAITMS

Top  Previous  Next

Action

Suspends program execution for a given time in mS.

 

 

Syntax

WAITMS mS

 

 

Remarks

mS

The number of milliseconds to wait. (1-255)

 

The delay time is based on the used X-tal (frequency).

The use of interrupts can slow down this routine.

This statement is provided for the I2C statements.

When you write to an EEPROM you must wait for 10 mS after the write instruction.

 

See also

DELAY , WAIT , WAITMSE

 

 

Example

WAITMS 10                'wait for 10 mS

Print "*"