public class Delay
extends java.lang.Object
Constructor and Description |
---|
Delay() |
Modifier and Type | Method and Description |
---|---|
static void |
msDelay(long period)
Wait for the specified number of milliseconds.
|
static void |
nsDelay(long period)
Wait for the specified number of nanoseconds.
|
static void |
usDelay(long period)
Wait for the specified number of microseconds.
|
public static void msDelay(long period)
period
- time to wait in mspublic static void usDelay(long period)
period
- time to wait in uspublic static void nsDelay(long period)
period
- time to wait in ns