27 lines
594 B
Markdown
27 lines
594 B
Markdown
|
# 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)!
|
||
|
|
||
|
### ~
|
||
|
|