PDL_Vibrate

Description

Vibrates the device.

Syntax

PDL_Err PDL_Vibrate(int periodMS, int durationMS)

Parameter Description
periodMS Vibration frequency in milliseconds. If you want it to vibrate 50 times in one second, for example, you would set it to 20 (20ms x 50ms = 1000ms = 1 second).
durationMS Total period of vibration in milliseconds.

Returns

PDL_NOERROR - Success
PDL_ECONNECTION - Unable to communicate with app card.