Jump to content

microbit.display.scrollAsync

From Compy Docs

Scroll a text across the LED matrix. This is a non-blocking function, returning immediately.

Function

Synopsis

microbit.display.scrollAsync(text)

Arguments

  • `text` — A string. The text to be scrolled.

Returns

A boolean value. True on success.

Synopsis

microbit.display.scrollAsync(text, delay)

Arguments

  • `text` — A string. The text to be scrolled.
  • `delay` — A number. The delay in milliseconds between scrolling the text by one pixel.

Returns

A boolean value. True on success.

See Also