From a81a36e0caf5c591bf014cff06520ba3081f95df Mon Sep 17 00:00:00 2001 From: Galen Nickel Date: Mon, 22 Oct 2018 13:22:50 -0700 Subject: [PATCH] Bring in fixes from #1128 to `v1` (#1491) --- docs/projects/banana-keyboard.md | 2 +- docs/projects/fireflies.md | 1 - docs/projects/hack-your-headphones/code.md | 4 +--- docs/projects/milky-monster.md | 1 - docs/projects/plant-watering.md | 1 - docs/projects/radio-bridge.md | 2 +- docs/projects/reaction-time.md | 1 - docs/projects/servo-calibrator.md | 2 +- docs/projects/snap-the-dot.md | 2 +- docs/projects/states-of-matter.md | 1 - docs/projects/step-counter.md | 2 +- docs/projects/watch/timer.md | 2 +- 12 files changed, 7 insertions(+), 14 deletions(-) diff --git a/docs/projects/banana-keyboard.md b/docs/projects/banana-keyboard.md index aa26b3ff..f1acb062 100644 --- a/docs/projects/banana-keyboard.md +++ b/docs/projects/banana-keyboard.md @@ -1,4 +1,4 @@ -# Banana keyboard +# Banana Keyboard ## @description A beginner maker activity, building a piano from bananas. diff --git a/docs/projects/fireflies.md b/docs/projects/fireflies.md index a9dc61ea..7c680d35 100644 --- a/docs/projects/fireflies.md +++ b/docs/projects/fireflies.md @@ -1,4 +1,3 @@ - # Fireflies ## ~ avatar diff --git a/docs/projects/hack-your-headphones/code.md b/docs/projects/hack-your-headphones/code.md index 049e1c74..02f79d13 100644 --- a/docs/projects/hack-your-headphones/code.md +++ b/docs/projects/hack-your-headphones/code.md @@ -25,8 +25,7 @@ input.onButtonPressed(Button.A, () => { }); ``` -We click on the Logic drawer then insert a `if do` that will conditionally run code depending on whether the Boolean condition is true or false. Then insert the variable `light` into the first part of the inequality. The variable "light" will appear in the Variables drawer. Finally, we insert 25. Modify your code so that your code looks like this. If the `light level` is `less than` 25, play `ring tone` `C`. If this conditions is not true, play `ring tone` `A`. - +We click on the Logic drawer then insert a `if do` that will conditionally run code depending on whether the Boolean condition is true or false. Then insert the variable `light` into the first part of the inequality. The variable "light" will appear in the Variables drawer. Finally, we insert 25. Modify your code so that your code looks like this. If the `light level` is `less than` 25, play `ring tone` `C`. If this conditions is not true, play `ring tone` `A`. ```blocks input.onButtonPressed(Button.A, () => { @@ -41,7 +40,6 @@ input.onButtonPressed(Button.A, () => { }); ``` - We click on the Logic drawer then insert a `less than` sign into the first `if` conditional that will conditionally run code depending on whether the Boolean condition is true or false. Continue this logic to continue with these conditional statements. Click on the Logic drawer. Then we want to add additional conditional statements by clicking on the gear to the left of the `if`. Add 05 `else if` and 01 `else` inside the `if do` block structure. If the `light level` is `less than` 50, play `ring tone` ``D``. If the `light level` is `less than` 100, play `ring tone` ``E``. If the `light level` is `less than` 150, play `ring tone` ``F`` If the `light level` is `less than` 180, play `ring tone` ``G``. If these conditions are not true, `ring tone` ``A``. ```blocks diff --git a/docs/projects/milky-monster.md b/docs/projects/milky-monster.md index 53052fc5..df30c383 100644 --- a/docs/projects/milky-monster.md +++ b/docs/projects/milky-monster.md @@ -1,4 +1,3 @@ - # Milk Monster ## @description A milky-monster like robot built with the @boardname@ diff --git a/docs/projects/plant-watering.md b/docs/projects/plant-watering.md index bc829f3a..32fe274e 100644 --- a/docs/projects/plant-watering.md +++ b/docs/projects/plant-watering.md @@ -1,6 +1,5 @@ # Plant Watering - ## ~avatar avatar Water your plants automatically! diff --git a/docs/projects/radio-bridge.md b/docs/projects/radio-bridge.md index a53bd7f2..c73a38b9 100644 --- a/docs/projects/radio-bridge.md +++ b/docs/projects/radio-bridge.md @@ -1,4 +1,4 @@ -# Radio bridge +# Radio Bridge Transfer the packet data received from the radio to the serial port. Use buttons **A** and **B** to select a radio group number. diff --git a/docs/projects/reaction-time.md b/docs/projects/reaction-time.md index 3895a908..c9178fcd 100644 --- a/docs/projects/reaction-time.md +++ b/docs/projects/reaction-time.md @@ -1,4 +1,3 @@ - # Reaction Time ## @description A reaction time experiment made of cardboard diff --git a/docs/projects/servo-calibrator.md b/docs/projects/servo-calibrator.md index 2f593753..86331d54 100644 --- a/docs/projects/servo-calibrator.md +++ b/docs/projects/servo-calibrator.md @@ -1,4 +1,4 @@ -# Servo calibrator +# Servo Calibrator Use this program to calibrate the angles of a servo. Press ``A`` to reduce the angle by 5 and ``B`` to diff --git a/docs/projects/snap-the-dot.md b/docs/projects/snap-the-dot.md index 65b51f71..e1bf1a0d 100644 --- a/docs/projects/snap-the-dot.md +++ b/docs/projects/snap-the-dot.md @@ -1,4 +1,4 @@ -# Snap the dot +# Snap the Dot ## Introduction @unplugged diff --git a/docs/projects/states-of-matter.md b/docs/projects/states-of-matter.md index 3cab5947..f68cd7a8 100644 --- a/docs/projects/states-of-matter.md +++ b/docs/projects/states-of-matter.md @@ -1,4 +1,3 @@ - # States of Matter ## @description A states of matter experiment made of cardboard diff --git a/docs/projects/step-counter.md b/docs/projects/step-counter.md index 2499ec92..9d87ec95 100644 --- a/docs/projects/step-counter.md +++ b/docs/projects/step-counter.md @@ -1,4 +1,4 @@ -# Step counter +# Step Counter ![A @boardname@ attached on a foot](/static/mb/projects/step-counter.png) diff --git a/docs/projects/watch/timer.md b/docs/projects/watch/timer.md index 996b4d71..0c5c0fc8 100644 --- a/docs/projects/watch/timer.md +++ b/docs/projects/watch/timer.md @@ -1,4 +1,4 @@ -# Countdown timer +# Countdown Timer ### ~avatar avatar