more tutorials

This commit is contained in:
Peli de Halleux
2018-09-07 15:02:15 -07:00
parent eff228b75f
commit b4cb424ec4
3 changed files with 43 additions and 13 deletions

37
docs/projects/name-tag.md Normal file
View File

@ -0,0 +1,37 @@
# Name Tag
## Step 1 @fullscreen
Place the ``||basic:show string||`` block in the ``||basic:on start||`` block. Change the text to your name.
```blocks
basic.forever(() => {
basic.showString("MICRO");
});
```
## Step 2
Look at the simulator and make sure it shows up your name on the screen.
## Step 3 @fullscreen
Place more ``||basic:show leds||`` or ``||basic:show string||`` blocks to create your own animation.
```blocks
basic.forever(() => {
basic.showString("MICRO");
basic.showLeds(`
. # . # .
# # # # #
# # # # #
. # # # .
. . # . .`
);
basic.showString("<3<3<3");
})
```
## Step 4 @unplugged
If you have a @boardname@ connected, click ``|Download|`` to transfer your code and watch your name scroll!