Jump to content

microbit.sleep

From Compy Docs

Pauses execution for the specified number of milliseconds.

Function

Synopsis

microbit.sleep(ms)

Arguments

One integer argument, `ms`, the delay in milliseconds.

Returns

Nothing.

See Also