Jump to content

microbit.accelerometer.configure

From Compy Docs

Configures the accelerometer hardware to reflect the sample rate and sample range currently set. Once complete, the corresponding variables are updated to reflect the changes made (requested ranges or periods may have been rounded down due to lack of hardware support).

Function

Synopsis

microbit.accelerometer.configure()

Arguments

None.

Returns

A boolean value. True, if configuration was successful.

See Also