pxt-calliope/docs/reference/basic/show-arrow.md
Sam El-Husseini e3975e65e5 pxt-microbit Accessibility PR ()
* Accessibility changes
2017-09-07 13:42:08 -07:00

506 B

Show Arrow

Shows the selected arrow on the LED screen

basic.showArrow(ArrowNames.North)

Parameters

  • direction, the identifier of the arrow to display
  • interval (optional), the time to display in milliseconds. default is 400.

Example

This program shows all eight arrows.

for (let index = 0; index <= 7; index++) {
    basic.showArrow(index)
    basic.pause(300)
}

See also

showIcon, showLeds