Edits from LEGO team review (#676)

This commit is contained in:
Galen Nickel
2018-06-12 06:46:44 -07:00
committed by Peli de Halleux
parent 1d442b7de9
commit 5de5b64e61
15 changed files with 89 additions and 90 deletions

View File

@ -2,13 +2,13 @@
## Introduction @unplugged
Use the Touch sensor value to stop a running motor.
Use the Touch Sensor value to stop a running motor.
![Touch sensor and motor attached to brick](/static/tutorials/touch-sensor-values/touch-to-stop.gif)
## Step 1
Open the ``||brick:Brick||`` Toolbox drawer. Drag an ``||brick:on button||`` block onto the Workspace, and place it anywhere on the Workspace.
Open the ``||brick:Brick||`` Toolbox drawer. Drag an ``||brick:on button||`` block onto the Workspace, and place it anywhere.
```blocks
brick.buttonEnter.onEvent(ButtonEvent.Pressed, function () {