AccelerometerX()

Syntax

Result.d = AccelerometerX()
Description
Returns the current acceleration on 'x' axis (in m/s^2). StartAccelerometer() has to be called successfully before using this command.

Parameters

None.

Return value

Returns the current acceleration on 'x' axis (in m/s^2).

See Also

StartAccelerometer(), AccelerometerY(), AccelerometerZ(), AccelerometerTime()

Supported OS

All

<- AccelerometerTime() - Accelerometer Index - AccelerometerY() ->