Jump to content

microbit.accelerometer.getRange

From Compy Docs

Returns the current sample range for the accelerometer.

Function

Synopsis

microbit.accelerometer.getRange()

Arguments

None.

Returns

The current sample range, in G.

See Also