Jump to content

microbit.display.scroll

From Compy Docs

Scroll a text across the LED matrix. This is a blocking function, returning when it is done scrolling.

Function

Synopsis

microbit.display.scroll(text)

Arguments

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

Returns

A boolean value. True on success.

Synopsis

microbit.display.scroll(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