Fixing zoomer lesson docs
This commit is contained in:
parent
a0a84b4006
commit
bb9d792599
@ -15,7 +15,7 @@ Write the line of code to measure the acceleration and then store in it a variab
|
|||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
```blocks
|
```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.
|
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/>
|
<br/>
|
||||||
|
|
||||||
```blocks
|
```blocks
|
||||||
let accX = input.acceleration("x")
|
let accX = input.acceleration(Dimension.X)
|
||||||
basic.showNumber(accX, 150)
|
basic.showNumber(accX, 150)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user