Tutorial format and macro fixes (#425)

* Tutorial format and macro fixes

* Remove branded names
This commit is contained in:
Galen Nickel
2018-04-04 15:12:55 -07:00
committed by GitHub
parent b1958d77e7
commit ac81067f82
9 changed files with 72 additions and 63 deletions

View File

@ -1,8 +1,8 @@
# Wake Up Mindstorms
# Wake Up!
## Introduction @fullscreen
Show different moods on your LEGO Mindstorms Brick.
Show different moods on your @boardname@.
![Show mood on the screen](/static/tutorials/wake-up/show-mood.gif)
@ -10,7 +10,7 @@ Show different moods on your LEGO Mindstorms Brick.
Open the ``||brick:Brick||`` Toolbox drawer. Drag out a ``||brick:show mood||`` block onto the Workspace, and place it into the ``||loops:on start||`` block. You should hear and see the block click into place.
```block
```blocks
brick.showMood(moods.sleeping)
```
@ -18,7 +18,7 @@ brick.showMood(moods.sleeping)
Notice your brick is snoring with eyes closed in the simulator! Lets wake her up. Open the ``||brick:Brick||`` Toolbox drawer again. Drag out 2 more ``||brick:show mood||`` blocks onto the Workspace, and drop them into the ``||brick:on start||`` block also.
```block
```blocks
brick.showMood(moods.sleeping)
brick.showMood(moods.sleeping)
brick.showMood(moods.sleeping)
@ -30,7 +30,7 @@ In the second ``||brick:show mood||`` block, click on the drop-down menu to sele
![Show mood dropdown selections](/static/tutorials/wake-up/show-mood-dropdown-1.png)
```block
```blocks
brick.showMood(moods.sleeping)
brick.showMood(moods.tired)
brick.showMood(moods.sleeping)
@ -42,7 +42,7 @@ In the third ``||brick:show mood||`` block, click on the drop-down menu to selec
![Show mood dropdown selections](/static/tutorials/wake-up/show-mood-dropdown-2.png)
```block
```blocks
brick.showMood(moods.sleeping)
brick.showMood(moods.tired)
brick.showMood(moods.love)
@ -50,5 +50,5 @@ brick.showMood(moods.love)
## Step 5
Now, lets download our program to the brick. Plug your EV3 brick into the computer with the USB cable, and click the blue **Download** button in the bottom left of your screen. Follow the directions to save your program to the brick.
Now, lets download our program to the brick. Plug your @boardname@ into the computer with the USB cable, and click the blue **Download** button in the bottom left of your screen. Follow the directions to save your program to the brick.