Pause for NUMBER milli-seconds.
void delay(unsigned long ms)
void delay(u16 ms)
- ms = duration of delay in milliseconds
- Valid values from 1 to 4294967295 miliseconds.
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.