pmVibration (Function) |
Top Previous Next |
Query whether vibration has been detected by the on-board vibration sensor. The pmVibration() function will return whether vibration has been detected since the last call. It is the responsibility of application to call pmVibration() frequently so that the information processed is up to date. The sensivity of the vibration sensor can be adjusted by calling the function pmSetVibrationSensivity().
Note: pmVibration will return FALSE while accelerometer or motion sensor is open.
Input: None.
Returns: BOOL
Declaration: FUNCTION pmVibration : BOOL;
Example: INCLUDE rtcu.inc |