on_vibrator
Purpose:
Use on_vibrator to set vibrator on.
Syntax:
void on_vibrator(void);
Example call:
on_vibrator( );
#include "SDK.h "
Includes:
Description:
Use on_vibrator function can enable vibrator. On timer is set by
set_vibrator_timer function.
Returns:
None.
off_vibrator
Purpose:
Use off_vibrator to set vibrator off.
Syntax:
void off_vibrator(void);
Example call:
off_vibrator( );
#include "SDK.h "
Includes:
Description:
Use off_vibrator function can daisable vibrator.
Returns:
None.
set_vibrator_timer
Purpose:
Use set_vibrator_timer to set vibrator on timer.
Syntax:
void set_vibrator_timer(unsigned char usTimer);
Example call:
set_vibrator_timer(10);//Set vibrator on timer for 1 sec.
#include "SDK.h "
Includes:
Description:
Use set_vibrator_timer function can set vibrator on timer. For example, set
10 for on 1 sec.
Returns:
None.
get_vibrator_timer
Purpose:
Use get_vibrator_timer to get vibrator on. timer
Syntax:
unsigned char get_vibrator_timer(void);
Example call:
i = get_vibrator_timer( );
#include "SDK.h "
Includes:
Description:
Use get_vibrator_timer function can get vibrator on timer.
Returns:
Vibrator on timer.
PT-20 Programming Guide
Vibrate
102