StartAccelerometer()
Syntax
Result = StartAccelerometer(Frequency)Description
Starts accelerometer data monitoring.
Parameters
Frequency The frequency (in millisecond) to refresh the accelerometer data. The lower the frequency is, the more CPU consuming it is. This is a reference value, depending of the device it can lack of precision. AccelerometerTime() can be used to monitor the delay between 2 different fetches.
Return value
Nonzero if accelerometer function are availables (ie: the device have an accelerometer), zero otherwise.
See Also
StopAccelerometer(), AccelerometerX(), AccelerometerY(), AccelerometerZ(), AccelerometerTime()
Supported OS
All