Jump to content

microbit.seedRandom

From Compy Docs

Seeds the pseudo-random number generator. If no non-zero seed is supplied, the default CODAL seeding operation is used.

Function

Synopsis

microbit.seedRandom(seed)

Arguments

`seed` -- a number.

Returns

Nothing.

Synopsis

microbit.seedRandom()

Arguments

None.

Returns

Nothing.


See Also