Delay

Name

 * delay

Description
Pause for NUMBER milli-seconds.
 * Since: Beta

Syntax
void delay(unsigned long ms) void delay(u16 ms)
 * P8:
 * P32:
 * Parameters:
 * ms = duration of delay in milliseconds
 * Valid values from 1 to 4294967295 miliseconds.


 * Returns/Output:
 * [None]

Example
First Example

Bugs
There is a bug at IDE Versions previous to Beta 10, that will produce a delay of 80% of the time specified. So, if it's specified 1000 (1 second delay), result will be a delay of 0,8 seconds delay. This problem is solved in Beta 10 and later IDE versions.