From 55d2b9ea1efb8dc5fd43e133c1f3354322730a48 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 10 Oct 2018 09:00:56 -0700 Subject: [PATCH] add full screen options --- docs/projects/flashing-heart.md | 10 +++++----- docs/projects/name-tag.md | 2 +- docs/projects/smiley-buttons.md | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/projects/flashing-heart.md b/docs/projects/flashing-heart.md index 13bb2309..7295a6de 100644 --- a/docs/projects/flashing-heart.md +++ b/docs/projects/flashing-heart.md @@ -1,6 +1,6 @@ # Flashing Heart -## Step 1 +## Step 1 @fullscreen Place the ``||basic:show leds||`` block in the ``||basic:on start||`` block and draw a heart. @@ -14,7 +14,7 @@ basic.showLeds(` ); ``` -## Step 2 +## Step 2 @fullscreen Place another ``||basic:show leds||`` block under the heart to make it blink. Check in the simulator to see the heart blink. @@ -33,7 +33,7 @@ basic.showLeds(` . . # . .`); ``` -## Step 3 +## Step 3 @fullscreen Move the blocks inside the ``||basic:forever||`` to repeat the animation. @@ -55,7 +55,7 @@ basic.forever(() => { }) ``` -## Step 4 +## Step 4 @fullscreen Place more ``||basic:show leds||`` blocks to create your own animation. @@ -83,6 +83,6 @@ basic.forever(() => { }) ``` -## Step 5 +## Step 5 @fullscreen If you have a @boardname@ connected, click ``|Download|`` to transfer your code and watch the hearts flash! diff --git a/docs/projects/name-tag.md b/docs/projects/name-tag.md index 4b29d634..4815da80 100644 --- a/docs/projects/name-tag.md +++ b/docs/projects/name-tag.md @@ -10,7 +10,7 @@ basic.forever(() => { }); ``` -## Step 2 +## Step 2 @fullscreen Look at the simulator and make sure it shows up your name on the screen. diff --git a/docs/projects/smiley-buttons.md b/docs/projects/smiley-buttons.md index 8b5034bf..829a6ebe 100644 --- a/docs/projects/smiley-buttons.md +++ b/docs/projects/smiley-buttons.md @@ -1,6 +1,6 @@ # Smiley Buttons -## Step 1 +## Step 1 @fullscreen Place a ``||input:on button pressed||`` block to run code when button **A** is pressed. @@ -9,7 +9,7 @@ input.onButtonPressed(Button.A, () => { }); ``` -## Step 2 +## Step 2 @fullscreen Place a ``||basic:show leds||`` block inside ``||input:on button pressed||`` to display a smiley on the screen. Press the **A** button in the simulator to see the smiley. @@ -25,7 +25,7 @@ input.onButtonPressed(Button.A, () => { }); ``` -## Step 3 +## Step 3 @fullscreen Add ``||input:on button pressed||`` and ``||basic:show leds||`` blocks to display a frowny when button **B** is pressed. @@ -41,7 +41,7 @@ input.onButtonPressed(Button.B, () => { }); ``` -## Step 4 +## Step 4 @fullscreen Add a secret mode that happens when **A** and **B** are pressed together. For this case, add multiple ``||basic:show leds||`` blocks to create an animation.