|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lejos.util.Delay
public class Delay
Simple collection of time delay routines that are non interruptable.
Constructor Summary | |
---|---|
Delay()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Delay()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |