Fix some doc issues

This commit is contained in:
Sam El-Husseini
2018-04-21 11:47:43 -07:00
parent 918972ba6f
commit 8719f557aa
7 changed files with 7 additions and 8 deletions

View File

@ -21,7 +21,7 @@ We are creating a forever loop to constantly display the appropriate brightness
<br/>
```blocks
let acceleration = input.acceleration("y")
let acceleration = input.acceleration(Dimension.Y)
```
## 3. After storing the acceleration in a variable, write the code to take the absolute value of the acceleration, and store this value inside 'acceleration'.

View File

@ -15,7 +15,7 @@ Write the line of code to measure the acceleration and then store in it a variab
<br/>
```blocks
let accX = input.acceleration("x")
let accX = input.acceleration(Dimension.X)
```
Note: acceleration does not have be measured in the "x" direction. It can also be in the "y" or "z" direction.
@ -27,7 +27,7 @@ After storing the acceleration in a variable, write the code to show acceleratio
<br/>
```blocks
let accX = input.acceleration("x")
let accX = input.acceleration(Dimension.X)
basic.showNumber(accX, 150)
```