microbit.accelerometer.getPeriod
Appearance
Returns the current sample period for the accelerometer.
Function
Synopsis
microbit.accelerometer.getPeriod()
Arguments
None.
Returns
The current sample period, in milliseconds.
Returns the current sample period for the accelerometer.
microbit.accelerometer.getPeriod()
None.
The current sample period, in milliseconds.