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 upto date. The sensivity of the vibration sensor can be adjusted by calling the function pmSetVibrationSensivity().
Input: None.
Returns: BOOL
Declaration: FUNCTION pmVibration : BOOL;
Example: INCLUDE rtcu.inc |