pxt-calliope/docs/reference/js/lessons/lucky-7/activity.md
2016-04-13 08:48:42 -07:00

608 B

lucky 7 activity

show a number on the LED screen.

~avatar avatar

@video td/videos/lucky-7-0

Let's learn how to show the lucky number 7 on the LED screen.

~

We will use basic->show number to display a number on the screen. The first argument (7) is the number to display and the second argument (150) is duration in milliseconds between column scroll. For example, you can reduce 150 to 100 to speed up the scrolling.

basic.showNumber(7, 150) // ***

~avatar boothing

Excellent, you're ready to continue with the challenges!

~