Function: spin()
Spins (in a cpu loop) for a period of time (in seconds).
Syntax
spin(duration)
Argument | Type | Description |
---|---|---|
duration | Integer | Pause duration (in seconds) |
Examples
spin(0.1)
Spins (in a cpu loop) for one tenth of a second.
Spins (in a cpu loop) for a period of time (in seconds).
spin(duration)
Argument | Type | Description |
---|---|---|
duration | Integer | Pause duration (in seconds) |
spin(0.1)
Spins (in a cpu loop) for one tenth of a second.