Show String

Show a string on the LED screen. It will scroll to left if it’s bigger than the screen.

basic.showString("Hello!")

Parameters

  • text is a String. It can contain letters, numbers, and punctuation.
  • interval is an optional Number. It means the number of milliseconds before sliding the String left by one LED each time. Bigger intervals make the sliding slower.

Examples:

To show the word Hello:

basic.showString("Hello")

To show what is stored in a String variable:

let s = "Hi"
basic.showString(s)

Other show functions

See also

String, show number, show animation