Add to gallerys

This commit is contained in:
ganicke 2018-01-17 18:52:49 -08:00
parent ea5ee1c007
commit 41f4b64087
3 changed files with 8 additions and 5 deletions

View File

@ -2,6 +2,8 @@
Learning activities for LEGO Mindstorms with MakeCode. Learning activities for LEGO Mindstorms with MakeCode.
## Motors and motion
```codecard ```codecard
[{ [{
"name": "Line Detection", "name": "Line Detection",

View File

@ -139,7 +139,7 @@ while (true) {
} }
``` ```
### Step 5 ### Step 6
Place a ``||motors:stop all motors||`` block under the ``||sensors:pause for color||`` block. Place a ``||motors:stop all motors||`` block under the ``||sensors:pause for color||`` block.
@ -153,7 +153,7 @@ while (true) {
} }
``` ```
### Step 6 ### Step 7
Place a ``||loops:while||`` loop block under the second ``||loops:while||`` loop block. Place a ``||loops:while||`` loop block under the second ``||loops:while||`` loop block.
@ -170,7 +170,7 @@ while (true) {
} }
``` ```
### Step 7 ### Step 8
Place a ``||sensors:pause for color||`` block inside the new ``||loops:while||`` loop block. Change the color to red. Place a ``||sensors:pause for color||`` block inside the new ``||loops:while||`` loop block. Change the color to red.
@ -191,7 +191,7 @@ while (true) {
} }
``` ```
### Step 8 ### Step 9
Click `|Download|` and follow the instructions to get your code onto your EV3 Brick. Press the **center** button on the EV3 Brick to run the program. Click `|Download|` and follow the instructions to get your code onto your EV3 Brick. Press the **center** button on the EV3 Brick to run the program.

View File

@ -9,6 +9,7 @@
}, },
"galleries": { "galleries": {
"Maker Activities": "maker", "Maker Activities": "maker",
"Coding Activites": "coding" "Coding Activites": "coding",
"Lessons": "lessons"
} }
} }