From 41f4b64087e11b1ff2e6cc84929951de099ace56 Mon Sep 17 00:00:00 2001 From: ganicke Date: Wed, 17 Jan 2018 18:52:49 -0800 Subject: [PATCH] Add to gallerys --- docs/lessons.md | 2 ++ docs/lessons/line-detection.md | 8 ++++---- targetconfig.json | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/lessons.md b/docs/lessons.md index 01a570e3..b2a0ae66 100644 --- a/docs/lessons.md +++ b/docs/lessons.md @@ -2,6 +2,8 @@ Learning activities for LEGO Mindstorms with MakeCode. +## Motors and motion + ```codecard [{ "name": "Line Detection", diff --git a/docs/lessons/line-detection.md b/docs/lessons/line-detection.md index 129d421b..da49c3db 100644 --- a/docs/lessons/line-detection.md +++ b/docs/lessons/line-detection.md @@ -139,7 +139,7 @@ while (true) { } ``` -### Step 5 +### Step 6 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. @@ -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. @@ -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.   diff --git a/targetconfig.json b/targetconfig.json index c71a3da1..f8945e6d 100644 --- a/targetconfig.json +++ b/targetconfig.json @@ -9,6 +9,7 @@ }, "galleries": { "Maker Activities": "maker", - "Coding Activites": "coding" + "Coding Activites": "coding", + "Lessons": "lessons" } } \ No newline at end of file