pxt-calliope/docs/lessons/lucky-7/activity.md

27 lines
594 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# lucky 7 blocks 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.
### ~
To create a new script, go to the [Create Code](https://www.microbit.co.uk/create-code) page and tap `New Project` under **Block Editor**.
We will use `show number` to display a number on the screen. The argument (`7`) is the number to display.
```blocks
basic.showNumber(7)
```
### ~avatar boothing
Excellent, you're ready to continue with the [challenges](/microbit/lessons/lucky-7/challenges)!
### ~