From bac93dfc58338dcb2b533b199da68e585ca43ef3 Mon Sep 17 00:00:00 2001 From: Galen Nickel Date: Wed, 2 Jan 2019 21:52:53 -0800 Subject: [PATCH] update rotation range for pitch (#1776) --- docs/reference/input/rotation.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/reference/input/rotation.md b/docs/reference/input/rotation.md index 85da572a..81ae4bd5 100644 --- a/docs/reference/input/rotation.md +++ b/docs/reference/input/rotation.md @@ -19,16 +19,13 @@ check how the @boardname@ is moving. ## Returns -* a [number](/types/number) that means how much the microbit is tilted in the direction you say; for `Rotation.Pitch` from `-90` to `90` degrees and for `Rotation.Roll` from `-180` to `180` degrees. +* a [number](/types/number) that means how much the @boardname@ is tilted in the direction you ask for. This is a value in degrees between `-180` to `180` in either the `Rotation.Pitch` or the `Rotation.Roll` direction of rotation. ## Example: @boardname@ leveler -This program helps you move the @boardname@ until it is level. When -it is level, the @boardname@ shows a smiley. - -If you are running this program in a browser, you can tilt the -@boardname@ with your mouse. +This program helps you move the @boardname@ until it is level. When it is level, the @boardname@ shows a smiley. +If you are running this program in a browser, you can tilt the @boardname@ with your mouse. ```blocks let pitch = 0;