Shawn videos (#1690)

* inclued in tutorials

* adding sim images to large icons

* added landing page

* restoring gifs in intro

* updated links
This commit is contained in:
Peli de Halleux
2018-12-02 07:58:43 -08:00
committed by GitHub
parent 61c06ad969
commit 99cc00955b
11 changed files with 43 additions and 6 deletions

View File

@ -2,12 +2,15 @@
## Introduction @unplugged
Let's turn the @boardname@ into a dice!
(Want to learn how the accelerometer works? [Watch this video](https://youtu.be/byngcwjO51U)).
![A microbit dice](/static/mb/projects/dice.png)
Let's turn the @boardname@ into a dice! To do this, we need 3 pieces of code: one to detect a throw (shake), another to pick a random number, and then one to show the number.
## Step 1 @fullscreen
We need 3 pieces of code: one to detect a throw (shake), another to pick a random number, and then one to show the number.
Place the ``||input:on shake||`` block onto the editor workspace. It runs code when you shake the @boardname@.
```blocks

View File

@ -2,9 +2,11 @@
## Introduction @unplugged
Learn how to use the LEDs and make a flashing heart!
Learn how to use the LEDs and make a flashing heart!
(Want to learn how lights work? [Watch this video](https://youtu.be/qqBmvHD5bCw)).
![Heart shape in the LEDs](/static/mb/projects/flashing-heart/show-leds.gif)
![Heart shape in the LEDs](/static/mb/projects/flashing-heart/sim.gif)
## Step 1 @fullscreen

View File

@ -3,8 +3,9 @@
## Introduction @unplugged
Code the buttons on the @boardname@ to show that it's happy or sad.
(Want to learn how the buttons works? [Watch this video](https://youtu.be/t_Qujjd_38o)).
![Pressing the A and B buttons](/static/mb/projects/smiley-buttons/smiley-buttons.gif)
![Pressing the A and B buttons](/static/mb/projects/smiley-buttons/sim.gif)
## Step 1 @fullscreen